[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] alsa-mixer: only use switch to mute Front in the Headphone path
PulseAudio Marge Bot (@pulseaudio-merge-bot)
gitlab at gitlab.freedesktop.org
Wed Jun 16 09:16:18 UTC 2021
PulseAudio Marge Bot pushed to branch master at PulseAudio / pulseaudio
Commits:
87b4d689 by Hui Wang at 2021-06-16T09:13:58+00:00
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 at canonical.com>
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/565>
- - - - -
2 changed files:
- src/modules/alsa/mixer/paths/analog-output-headphones-2.conf
- src/modules/alsa/mixer/paths/analog-output-headphones.conf
Changes:
=====================================
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
=====================================
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
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/87b4d68978fc144b15a0b6746ee8126869f85f1c
--
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/87b4d68978fc144b15a0b6746ee8126869f85f1c
You're receiving this email because of your account on gitlab.freedesktop.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20210616/b258a460/attachment-0001.htm>
More information about the pulseaudio-commits
mailing list