summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
authorDan Everton <dan@iocaine.org>2006-03-05 19:46:33 +0000
committerDan Everton <dan@iocaine.org>2006-03-05 19:46:33 +0000
commit769925541a0c75a261ab8527afde3211e35a7698 (patch)
tree7faf1c9024174a676af66fbd7512f997c0952a29 /apps/plugin.c
parentd108849812280eb69b5a00bd1f79193237b2e51a (diff)
sound_set_pitch is not available on Player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8916 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index c26d06dd07..ac1825180e 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -311,8 +311,10 @@ 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) || \
+ (CONFIG_CODEC == SWCODEC)
sound_set_pitch,
+#endif
#if !defined(SIMULATOR) && (CONFIG_CODEC != SWCODEC)
/* MAS communication */