summaryrefslogtreecommitdiffstats
path: root/apps
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
parentd108849812280eb69b5a00bd1f79193237b2e51a (diff)
downloadrockbox-769925541a0c75a261ab8527afde3211e35a7698.tar.gz
rockbox-769925541a0c75a261ab8527afde3211e35a7698.zip
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')
-rw-r--r--apps/plugin.c4
-rw-r--r--apps/plugin.h4
2 files changed, 6 insertions, 2 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 */
diff --git a/apps/plugin.h b/apps/plugin.h
index c0ae6c69d1..be8b01c0a9 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -365,8 +365,10 @@ struct plugin_api {
#if !defined(SIMULATOR) && (CONFIG_CODEC != SWCODEC)
unsigned long (*mpeg_get_last_header)(void);
#endif
-
+#if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) || \
+ (CONFIG_CODEC == SWCODEC)
void (*sound_set_pitch)(int pitch);
+#endif
/* MAS communication */
#if !defined(SIMULATOR) && (CONFIG_CODEC != SWCODEC)