summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Henningsson <david.henningsson@canonical.com>2012-06-28 15:40:17 +0200
committerDavid Henningsson <david.henningsson@canonical.com>2012-07-05 09:12:42 +0200
commit1104a108f0162f38e2e235921ece8b19d071eb70 (patch)
treeebd44c3ca878609eb23879a001091735dda20b49
parentc201c5fdd190bb4df7949eddfba219269ed4171b (diff)
alsa-mixer: Always turn "Inverted Internal Mic" off
Some devices have inverted right channel, so when you add left and right, the result is silence, or very faint sound. In recent kernels (3.5, perhaps also 3.4) these are starting to be marked with a special "Inverted Internal Mic" capture switch. While we might want to add some reverse summing mechanism in the future, for now, we just turn the thing off to avoid the problem of recording silence. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
-rw-r--r--src/modules/alsa/mixer/paths/analog-input-mic.conf.common4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/alsa/mixer/paths/analog-input-mic.conf.common b/src/modules/alsa/mixer/paths/analog-input-mic.conf.common
index 2e4f0d81..b1cdbaf1 100644
--- a/src/modules/alsa/mixer/paths/analog-input-mic.conf.common
+++ b/src/modules/alsa/mixer/paths/analog-input-mic.conf.common
@@ -46,6 +46,10 @@ volume = off
switch = off
volume = off
+[Element Inverted Internal Mic]
+switch = off
+volume = off
+
[Element Mic Jack Mode]
enumeration = select