mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
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:
parent
f5c001af5f
commit
9d0a5b5cb7
1 changed files with 8 additions and 9 deletions
|
|
@ -102,23 +102,22 @@ volume = off
|
||||||
switch = off
|
switch = off
|
||||||
required-any = any
|
required-any = any
|
||||||
|
|
||||||
; This profile path is intended to control the default output, not the
|
; This profile path is intended to control line out, let's mute headphones
|
||||||
; headphones. But it should not hurt if we leave the headphone jack
|
; else there will be a spike when plugging in headphones
|
||||||
; enabled nonetheless.
|
|
||||||
[Element Headphone]
|
[Element Headphone]
|
||||||
switch = mute
|
switch = off
|
||||||
volume = zero
|
volume = off
|
||||||
|
|
||||||
[Element Headphone2]
|
[Element Headphone2]
|
||||||
switch = mute
|
switch = off
|
||||||
volume = zero
|
volume = off
|
||||||
|
|
||||||
[Element Speaker]
|
[Element Speaker]
|
||||||
switch = mute
|
switch = off
|
||||||
volume = off
|
volume = off
|
||||||
|
|
||||||
[Element Desktop Speaker]
|
[Element Desktop Speaker]
|
||||||
switch = mute
|
switch = off
|
||||||
volume = off
|
volume = off
|
||||||
|
|
||||||
[Element Front]
|
[Element Front]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue