summaryrefslogtreecommitdiffstats
path: root/firmware/drivers/audio/as3514.c
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2008-05-25 21:19:07 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2008-05-25 21:19:07 +0000
commit825d89fe282a6797cef5ef7266c908d2986334d4 (patch)
treefb9d61b727ba643abfedf39359bf7ec71a21ee35 /firmware/drivers/audio/as3514.c
parent43d02f66a0ade99a8de3bd76a9d2533b11c7aa41 (diff)
downloadrockbox-825d89fe282a6797cef5ef7266c908d2986334d4.tar.gz
rockbox-825d89fe282a6797cef5ef7266c908d2986334d4.zip
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
Diffstat (limited to 'firmware/drivers/audio/as3514.c')
-rw-r--r--firmware/drivers/audio/as3514.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/audio/as3514.c b/firmware/drivers/audio/as3514.c
index b801375846..01dc23b963 100644
--- a/firmware/drivers/audio/as3514.c
+++ b/firmware/drivers/audio/as3514.c
@@ -37,7 +37,7 @@ 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},
-#if defined(HAVE_RECORDING)
+#ifdef HAVE_RECORDING
[SOUND_MIC_GAIN] = {"dB", 1, 1, 0, 39, 23},
[SOUND_LEFT_GAIN] = {"dB", 1, 1, 0, 31, 23},
[SOUND_RIGHT_GAIN] = {"dB", 1, 1, 0, 31, 23},