alsa-mixer: only use switch to mute Front in the Headphone path
authorHui Wang <hui.wang@canonical.com>
Fri, 28 May 2021 02:25:27 +0000 (10:25 +0800)
committerPulseAudio Marge Bot <pulseaudio-maintainers@lists.freedesktop.org>
Wed, 16 Jun 2021 09:13:58 +0000 (09:13 +0000)
commit87b4d68978fc144b15a0b6746ee8126869f85f1c
tree8aa1368a8642440254d7183033cbfcf3efb27d00
parent6222f610e8ec4685153bd51eb3e34e5bc228ed2d
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>
src/modules/alsa/mixer/paths/analog-output-headphones-2.conf
src/modules/alsa/mixer/paths/analog-output-headphones.conf