diff options
Diffstat (limited to 'apps/plugins/pdbox')
-rw-r--r-- | apps/plugins/pdbox/pdbox.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/plugins/pdbox/pdbox.c b/apps/plugins/pdbox/pdbox.c index cdec7a279c..5cb06f7557 100644 --- a/apps/plugins/pdbox/pdbox.c +++ b/apps/plugins/pdbox/pdbox.c | |||
@@ -218,8 +218,10 @@ enum plugin_status plugin_start(const void* parameter) | |||
218 | return PLUGIN_ERROR; | 218 | return PLUGIN_ERROR; |
219 | } | 219 | } |
220 | 220 | ||
221 | #ifdef HAVE_SCHEDULER_BOOSTCTRL | ||
221 | /* Boost CPU. */ | 222 | /* Boost CPU. */ |
222 | cpu_boost(true); | 223 | rb->trigger_cpu_boost(); |
224 | #endif | ||
223 | 225 | ||
224 | /* Start threads. */ | 226 | /* Start threads. */ |
225 | core_thread_id = | 227 | core_thread_id = |
@@ -258,8 +260,10 @@ enum plugin_status plugin_start(const void* parameter) | |||
258 | rb->thread_wait(gui_thread_id); | 260 | rb->thread_wait(gui_thread_id); |
259 | rb->thread_wait(core_thread_id); | 261 | rb->thread_wait(core_thread_id); |
260 | 262 | ||
263 | #ifdef HAVE_SCHEDULER_BOOSTCTRL | ||
261 | /* Unboost CPU. */ | 264 | /* Unboost CPU. */ |
262 | cpu_boost(false); | 265 | rb->cancel_cpu_boost(); |
266 | #endif | ||
263 | 267 | ||
264 | /* Close audio subsystem. */ | 268 | /* Close audio subsystem. */ |
265 | sys_close_audio(); | 269 | sys_close_audio(); |