alsa-mixer: Mute headphones and speakers on line out path

When line out path is active, we want to mute speakers for obvious
reasons, and headphones to avoid volume spikes.

Reported-by: TienFu Chen <tienfu.chen@canonical.com>
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
David Henningsson 2015-01-13 11:28:16 +01:00
parent f5c001af5f
commit 9d0a5b5cb7

View file

@ -102,23 +102,22 @@ volume = off
switch = off
required-any = any
; This profile path is intended to control the default output, not the
; headphones. But it should not hurt if we leave the headphone jack
; enabled nonetheless.
; This profile path is intended to control line out, let's mute headphones
; else there will be a spike when plugging in headphones
[Element Headphone]
switch = mute
volume = zero
switch = off
volume = off
[Element Headphone2]
switch = mute
volume = zero
switch = off
volume = off
[Element Speaker]
switch = mute
switch = off
volume = off
[Element Desktop Speaker]
switch = mute
switch = off
volume = off
[Element Front]