From 333f4f52bebab0140b7ee5cf154cb0739379a20f Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Mon, 15 Apr 2013 15:19:39 -0400 Subject: [PATCH] Fix final error from 0c7b787 in Player sim. Change-Id: Ifeebed8f594fc56acbbd2439fb8186566cc04de8 --- firmware/drivers/audio/sdl.c | 2 ++ 1 file changed, 2 insertions(+) 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