summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2013-04-15 15:19:39 -0400
committerMichael Sevakis <jethead71@rockbox.org>2013-04-15 15:19:39 -0400
commit333f4f52bebab0140b7ee5cf154cb0739379a20f (patch)
tree3f0a18f06501caba3c4f18a5655a6ff982006fc1
parentb2dd1f8d466d83d305981cf84883e698edf2c461 (diff)
downloadrockbox-333f4f5.tar.gz
rockbox-333f4f5.zip
Fix final error from 0c7b787 in Player sim.
Change-Id: Ifeebed8f594fc56acbbd2439fb8186566cc04de8
-rw-r--r--firmware/drivers/audio/sdl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/drivers/audio/sdl.c b/firmware/drivers/audio/sdl.c
index dfc77378bd..c14ba0c583 100644
--- a/firmware/drivers/audio/sdl.c
+++ b/firmware/drivers/audio/sdl.c
@@ -85,9 +85,11 @@ void audiohw_set_treble(int value) { (void)value; }
#if CONFIG_CODEC != SWCODEC
void audiohw_set_channel(int value) { (void)value; }
void audiohw_set_stereo_width(int value){ (void)value; }
+#ifdef HAVE_PITCHCONTROL
void audiohw_set_pitch(int32_t value) { (void)value; }
int32_t audiohw_get_pitch(void) { return PITCH_SPEED_100; }
#endif
+#endif /* CONFIG_CODEC != SWCODEC */
#if defined(AUDIOHW_HAVE_BASS_CUTOFF)
void audiohw_set_bass_cutoff(int value) { (void)value; }
#endif