summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-03-11 09:38:12 +0000
committerJens Arnold <amiconn@rockbox.org>2006-03-11 09:38:12 +0000
commitdae698cad4d3b05edccd94c5dd6887997a691502 (patch)
treecebde795a90509820042dfb6bba332a55db8d69c /apps/plugin.h
parentc8480433bcca58622da42077bcd539dfae9e3800 (diff)
Ooops.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8997 a1c6a512-1295-4272-9138-f99709370657
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 {
void (*pcm_set_frequency)(unsigned int frequency);
bool (*pcm_is_playing)(void);
void (*pcm_play_pause)(bool play);
- void (*pcm_calculate_peaks)(int *left, int *right);
#endif
#endif /* !SIMULATOR */
+#if CONFIG_CODEC == SWCODEC
+ void (*pcm_calculate_peaks)(int *left, int *right);
+#endif
/* playback control */
void (*PREFIX(audio_play))(long offset);