summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 4f6b6e91d7..c26d06dd07 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -52,6 +52,7 @@
52#include "splash.h" 52#include "splash.h"
53#if (CONFIG_CODEC == SWCODEC) 53#if (CONFIG_CODEC == SWCODEC)
54#include "pcm_playback.h" 54#include "pcm_playback.h"
55#include "dsp.h"
55#endif 56#endif
56 57
57#ifdef HAVE_CHARGING 58#ifdef HAVE_CHARGING
@@ -310,9 +311,8 @@ static const struct plugin_api rockbox_api = {
310#if !defined(SIMULATOR) && (CONFIG_CODEC != SWCODEC) 311#if !defined(SIMULATOR) && (CONFIG_CODEC != SWCODEC)
311 mpeg_get_last_header, 312 mpeg_get_last_header,
312#endif 313#endif
313#if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) 314
314 sound_set_pitch, 315 sound_set_pitch,
315#endif
316 316
317#if !defined(SIMULATOR) && (CONFIG_CODEC != SWCODEC) 317#if !defined(SIMULATOR) && (CONFIG_CODEC != SWCODEC)
318 /* MAS communication */ 318 /* MAS communication */
@@ -407,6 +407,10 @@ static const struct plugin_api rockbox_api = {
407 sim_lcd_ex_init, 407 sim_lcd_ex_init,
408 sim_lcd_ex_update_rect, 408 sim_lcd_ex_update_rect,
409#endif 409#endif
410
411#if (CONFIG_CODEC == SWCODEC)
412 pcm_calculate_peaks,
413#endif
410}; 414};
411 415
412int plugin_load(const char* plugin, void* parameter) 416int plugin_load(const char* plugin, void* parameter)