diff options
Diffstat (limited to 'apps/plugin.c')
| -rw-r--r-- | apps/plugin.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 4f6b6e9..c26d06d 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -52,6 +52,7 @@ #include "splash.h" #if (CONFIG_CODEC == SWCODEC) #include "pcm_playback.h" +#include "dsp.h" #endif #ifdef HAVE_CHARGING @@ -310,9 +311,8 @@ static const struct plugin_api rockbox_api = { #if !defined(SIMULATOR) && (CONFIG_CODEC != SWCODEC) mpeg_get_last_header, #endif -#if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) + sound_set_pitch, -#endif #if !defined(SIMULATOR) && (CONFIG_CODEC != SWCODEC) /* MAS communication */ @@ -407,6 +407,10 @@ static const struct plugin_api rockbox_api = { sim_lcd_ex_init, sim_lcd_ex_update_rect, #endif + +#if (CONFIG_CODEC == SWCODEC) + pcm_calculate_peaks, +#endif }; int plugin_load(const char* plugin, void* parameter) |