summaryrefslogtreecommitdiff
path: root/apps/recorder/recording.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2003-07-22 18:34:23 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2003-07-22 18:34:23 +0000
commit4bb3f80f2737ff86c4a8fdb074a1a7bce0aa3624 (patch)
tree83b7ef70d19188765012ac5ba648a85c32f17637 /apps/recorder/recording.c
parentcad92039846dfe6da48b385c350f3456bb990527 (diff)
downloadrockbox-4bb3f80f2737ff86c4a8fdb074a1a7bce0aa3624.tar.gz
rockbox-4bb3f80f2737ff86c4a8fdb074a1a7bce0aa3624.zip
Setting the lowest mic gain no longer turns off the mic (bug #774349)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3865 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/recording.c')
-rw-r--r--apps/recorder/recording.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index ff79be24f7..f8a719db1b 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -72,13 +72,12 @@ static void set_gain(void)
72{ 72{
73 if(global_settings.rec_source == SOURCE_MIC) 73 if(global_settings.rec_source == SOURCE_MIC)
74 { 74 {
75 mpeg_set_recording_gain(0, 0, 75 mpeg_set_recording_gain(global_settings.rec_mic_gain, 0, true);
76 global_settings.rec_mic_gain);
77 } 76 }
78 else 77 else
79 { 78 {
80 mpeg_set_recording_gain(global_settings.rec_left_gain, 79 mpeg_set_recording_gain(global_settings.rec_left_gain,
81 global_settings.rec_right_gain, 0); 80 global_settings.rec_right_gain, false);
82 } 81 }
83} 82}
84 83