diff options
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 10391f9f35..0192590361 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -519,7 +519,7 @@ static const struct plugin_api rockbox_api = { | |||
519 | 519 | ||
520 | thread_wait, | 520 | thread_wait, |
521 | 521 | ||
522 | #ifdef PROC_NEEDS_CACHEALIGN | 522 | #if (CONFIG_CODEC == SWCODEC) |
523 | align_buffer, | 523 | align_buffer, |
524 | #endif | 524 | #endif |
525 | 525 | ||
@@ -564,6 +564,23 @@ static const struct plugin_api rockbox_api = { | |||
564 | find_albumart, | 564 | find_albumart, |
565 | search_albumart_files, | 565 | search_albumart_files, |
566 | #endif | 566 | #endif |
567 | |||
568 | #if CONFIG_CODEC == SWCODEC | ||
569 | pcm_play_lock, | ||
570 | pcm_play_unlock, | ||
571 | queue_enable_queue_send, | ||
572 | queue_empty, | ||
573 | queue_wait, | ||
574 | queue_send, | ||
575 | queue_reply, | ||
576 | #ifndef HAVE_FLASH_STORAGE | ||
577 | ata_spin, | ||
578 | #endif | ||
579 | #ifdef HAVE_SCHEDULER_BOOSTCTRL | ||
580 | trigger_cpu_boost, | ||
581 | cancel_cpu_boost, | ||
582 | #endif | ||
583 | #endif /* CONFIG_CODEC == SWCODEC */ | ||
567 | }; | 584 | }; |
568 | 585 | ||
569 | int plugin_load(const char* plugin, void* parameter) | 586 | int plugin_load(const char* plugin, void* parameter) |