alsa-mixer: Make speaker unavailable when Line Out is plugged in

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>
This commit is contained in:
David Henningsson 2015-01-29 10:24:35 -05:00
parent f75335f25c
commit 5cc3d4aa9d
2 changed files with 16 additions and 0 deletions

View 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

View 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