diff options
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 63097a2589..e7758df51c 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -292,9 +292,11 @@ static const struct plugin_api rockbox_api = { | |||
292 | pcm_set_frequency, | 292 | pcm_set_frequency, |
293 | pcm_is_playing, | 293 | pcm_is_playing, |
294 | pcm_play_pause, | 294 | pcm_play_pause, |
295 | pcm_calculate_peaks, | ||
296 | #endif | 295 | #endif |
297 | #endif | 296 | #endif |
297 | #if CONFIG_CODEC == SWCODEC | ||
298 | pcm_calculate_peaks, | ||
299 | #endif | ||
298 | 300 | ||
299 | /* playback control */ | 301 | /* playback control */ |
300 | PREFIX(audio_play), | 302 | PREFIX(audio_play), |