I wonder if we're better off with the attached patch. I've seen more than one system where the volume control named "Front" is a part of audio path for headphones. The attached patch would be somewhat of a compromise: While we don't merge it into the path, as that would be regressing machines where "Front" isn't a part of the audio path, it would still enable sound on these machines. The question is if "Front" is turning on some output it shouldn't on some machines, but I think it wouldn't: this should (for all common systems I can think of) be fixed through the driver's auto-mute anyway.

The other option would be to quirk every single machine that has this problem to a separate udev rule -> profile-set -> path .conf file.
What do you think?

--
David Henningsson
http://launchpad.net/~diwic
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 e47543f..aa4a868 100644
--- a/src/modules/alsa/mixer/paths/analog-output-headphones-2.conf
+++ b/src/modules/alsa/mixer/paths/analog-output-headphones-2.conf
@@ -61,8 +61,8 @@ switch = off
 volume = off
 
 [Element Front]
-switch = off
-volume = off
+switch = mute
+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 1d7bb0b..50b8f6b 100644
--- a/src/modules/alsa/mixer/paths/analog-output-headphones.conf
+++ b/src/modules/alsa/mixer/paths/analog-output-headphones.conf
@@ -61,8 +61,8 @@ switch = off
 volume = off
 
 [Element Front]
-switch = off
-volume = off
+switch = mute
+volume = zero
 
 [Element Rear]
 switch = off
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Reply via email to