From 825d89fe282a6797cef5ef7266c908d2986334d4 Mon Sep 17 00:00:00 2001 From: Peter D'Hoye Date: Sun, 25 May 2008 21:19:07 +0000 Subject: Accept FS #9021 by James Vasile and apply the fix to the other drivers that have the same issue. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17630 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/audio/wm8758.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'firmware/drivers/audio/wm8758.c') diff --git a/firmware/drivers/audio/wm8758.c b/firmware/drivers/audio/wm8758.c index 8f452f7a09..b380530e39 100644 --- a/firmware/drivers/audio/wm8758.c +++ b/firmware/drivers/audio/wm8758.c @@ -38,9 +38,11 @@ const struct sound_settings_info audiohw_settings[] = { [SOUND_BALANCE] = {"%", 0, 1,-100, 100, 0}, [SOUND_CHANNELS] = {"", 0, 1, 0, 5, 0}, [SOUND_STEREO_WIDTH] = {"%", 0, 5, 0, 250, 100}, +#ifdef HAVE_RECORDING [SOUND_LEFT_GAIN] = {"dB", 1, 1,-128, 96, 0}, [SOUND_RIGHT_GAIN] = {"dB", 1, 1,-128, 96, 0}, [SOUND_MIC_GAIN] = {"dB", 1, 1,-128, 108, 16}, +#endif [SOUND_BASS_CUTOFF] = {"", 0, 1, 1, 4, 1}, [SOUND_TREBLE_CUTOFF] = {"", 0, 1, 1, 4, 1}, }; -- cgit v1.2.3