alsa-mixer: only use switch to mute Front in the Headphone path

According to the alsa-info.txt in the pipewire issues of #747 and #1206,
the Front Playback Volume is shared by Headphone and Lineout or
Headphone and Speaker, But Headphone, Lineout or Speaker they all have
independent Playback Switch, change to only use switch to mute the
Lineout or Speaker. This could resolve the issues of #747 and #1206.

See #1206 and #747
This commit is contained in:
Hui Wang 2021-05-31 13:08:19 +02:00 committed by Wim Taymans
parent 4dc3d79ff2
commit e375930813
2 changed files with 8 additions and 2 deletions

View file

@ -84,9 +84,12 @@ volume = off
switch = off
volume = off
; On some machines, the Front Volume Control is shared by Headphone and Lineout,
; or Headphone and Speaker, but they have independent Volume Switch. Here only
; use switch to mute Lineout or Speaker.
[Element Front]
switch = off
volume = off
volume = zero
[Element Rear]
switch = off

View file

@ -126,9 +126,12 @@ volume = off
switch = off
volume = off
; On some machines, the Front Volume Control is shared by Headphone and Lineout,
; or Headphone and Speaker, but they have independent Volume Switch. Here only
; use switch to mute Lineout or Speaker.
[Element Front]
switch = off
volume = off
volume = zero
[Element Rear]
switch = off