[pulseaudio-discuss] [PATCH 3/4] alsa-mixer: Always turn "Inverted Internal Mic" off

David Henningsson david.henningsson at canonical.com
Thu Jun 28 07:27:06 PDT 2012


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 at canonical.com>
---
 .../alsa/mixer/paths/analog-input-mic.conf.common  |    4 ++++
 1 file changed, 4 insertions(+)

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 2e4f0d8..b1cdbaf 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
 
-- 
1.7.9.5



More information about the pulseaudio-discuss mailing list