alsa-mixer: Make speaker unavailable when Line Out is plugged in
authorDavid Henningsson <david.henningsson@canonical.com>
Thu, 29 Jan 2015 15:24:35 +0000 (10:24 -0500)
committerDavid Henningsson <david.henningsson@canonical.com>
Thu, 29 Jan 2015 15:24:35 +0000 (10:24 -0500)
ALSA mutes speaker when Line Out is plugged in by default, so
we should follow that convention.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
src/modules/alsa/mixer/paths/analog-output-speaker-always.conf
src/modules/alsa/mixer/paths/analog-output-speaker.conf

index a8e5d05..b6d9f94 100644 (file)
@@ -33,6 +33,14 @@ state.unplugged = unknown
 state.plugged = no
 state.unplugged = unknown
 
+[Jack Line Out]
+state.plugged = no
+state.unplugged = unknown
+
+[Jack Line Out Front]
+state.plugged = no
+state.unplugged = unknown
+
 [Element Hardware Master]
 switch = mute
 volume = merge
index 2c51f6c..39193dd 100644 (file)
@@ -36,6 +36,14 @@ state.unplugged = unknown
 state.plugged = no
 state.unplugged = unknown
 
+[Jack Line Out]
+state.plugged = no
+state.unplugged = unknown
+
+[Jack Line Out Front]
+state.plugged = no
+state.unplugged = unknown
+
 [Jack Speaker Phantom]
 required-any = any
 state.plugged = unknown