summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index ed4588d906..df23ed1c00 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -346,9 +346,11 @@ struct plugin_api {
346 void (*pcm_set_frequency)(unsigned int frequency); 346 void (*pcm_set_frequency)(unsigned int frequency);
347 bool (*pcm_is_playing)(void); 347 bool (*pcm_is_playing)(void);
348 void (*pcm_play_pause)(bool play); 348 void (*pcm_play_pause)(bool play);
349 void (*pcm_calculate_peaks)(int *left, int *right);
350#endif 349#endif
351#endif /* !SIMULATOR */ 350#endif /* !SIMULATOR */
351#if CONFIG_CODEC == SWCODEC
352 void (*pcm_calculate_peaks)(int *left, int *right);
353#endif
352 354
353 /* playback control */ 355 /* playback control */
354 void (*PREFIX(audio_play))(long offset); 356 void (*PREFIX(audio_play))(long offset);