diff options
author | Hui Wang <hui.wang@canonical.com> | 2021-05-28 10:25:27 +0800 |
---|---|---|
committer | PulseAudio Marge Bot <pulseaudio-maintainers@lists.freedesktop.org> | 2021-06-16 09:13:58 +0000 |
commit | 87b4d68978fc144b15a0b6746ee8126869f85f1c (patch) | |
tree | 8aa1368a8642440254d7183033cbfcf3efb27d00 | |
parent | 6222f610e8ec4685153bd51eb3e34e5bc228ed2d (diff) | |
download | pulseaudio-87b4d68978fc144b15a0b6746ee8126869f85f1c.tar.gz |
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>
-rw-r--r-- | src/modules/alsa/mixer/paths/analog-output-headphones-2.conf | 5 | ||||
-rw-r--r-- | src/modules/alsa/mixer/paths/analog-output-headphones.conf | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/modules/alsa/mixer/paths/analog-output-headphones-2.conf b/src/modules/alsa/mixer/paths/analog-output-headphones-2.conf index e98fe2537..bda137d3c 100644 --- a/src/modules/alsa/mixer/paths/analog-output-headphones-2.conf +++ b/src/modules/alsa/mixer/paths/analog-output-headphones-2.conf @@ -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 diff --git a/src/modules/alsa/mixer/paths/analog-output-headphones.conf b/src/modules/alsa/mixer/paths/analog-output-headphones.conf index ac4ec659a..3c62c5e67 100644 --- a/src/modules/alsa/mixer/paths/analog-output-headphones.conf +++ b/src/modules/alsa/mixer/paths/analog-output-headphones.conf @@ -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 |