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.w...@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.


_______________________________________________
pulseaudio-commits mailing list
pulseaudio-commits@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-commits

Reply via email to