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.

BugLink: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1206
BugLink: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/747
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/565>
This commit is contained in:
Hui Wang 2021-05-28 10:25:27 +08:00 committed by PulseAudio Marge Bot
parent 6222f610e8
commit 87b4d68978
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