summaryrefslogtreecommitdiff
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
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
-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 = {
311#if !defined(SIMULATOR) && (CONFIG_CODEC != SWCODEC) 311#if !defined(SIMULATOR) && (CONFIG_CODEC != SWCODEC)
312 mpeg_get_last_header, 312 mpeg_get_last_header,
313#endif 313#endif
314 314#if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) || \
315 (CONFIG_CODEC == SWCODEC)
315 sound_set_pitch, 316 sound_set_pitch,
317#endif
316 318
317#if !defined(SIMULATOR) && (CONFIG_CODEC != SWCODEC) 319#if !defined(SIMULATOR) && (CONFIG_CODEC != SWCODEC)
318 /* MAS communication */ 320 /* 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 {
365#if !defined(SIMULATOR) && (CONFIG_CODEC != SWCODEC) 365#if !defined(SIMULATOR) && (CONFIG_CODEC != SWCODEC)
366 unsigned long (*mpeg_get_last_header)(void); 366 unsigned long (*mpeg_get_last_header)(void);
367#endif 367#endif
368 368#if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) || \
369 (CONFIG_CODEC == SWCODEC)
369 void (*sound_set_pitch)(int pitch); 370 void (*sound_set_pitch)(int pitch);
371#endif
370 372
371 /* MAS communication */ 373 /* MAS communication */
372#if !defined(SIMULATOR) && (CONFIG_CODEC != SWCODEC) 374#if !defined(SIMULATOR) && (CONFIG_CODEC != SWCODEC)