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/mas35xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/drivers/audio/mas35xx.c') diff --git a/firmware/drivers/audio/mas35xx.c b/firmware/drivers/audio/mas35xx.c index 1a0d2afe45..9d80ac93d1 100644 --- a/firmware/drivers/audio/mas35xx.c +++ b/firmware/drivers/audio/mas35xx.c @@ -47,7 +47,7 @@ const struct sound_settings_info audiohw_settings[] = { [SOUND_MDB_ENABLE] = {"", 0, 1, 0, 1, 0}, [SOUND_SUPERBASS] = {"", 0, 1, 0, 1, 0}, #endif -#if CONFIG_CODEC == MAS3587F +#if CONFIG_CODEC == MAS3587F && defined(HAVE_RECORDING) [SOUND_LEFT_GAIN] = {"dB", 1, 1, 0, 15, 8}, [SOUND_RIGHT_GAIN] = {"dB", 1, 1, 0, 15, 8}, [SOUND_MIC_GAIN] = {"dB", 1, 1, 0, 15, 2}, -- cgit v1.2.3