mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04: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
|
||||
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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue