[pulseaudio-discuss] [PATCH 4/4] alsa-mixer: Switch off the Headphone element on the line-out path

Sjoerd Simons sjoerd at luon.net
Sun Nov 16 14:15:53 PST 2014


If the Headphone element isn't turned off when switching to line-out
(with headphone plugged in) it can keep outputting audio (even though
it's mute/zero!?).. So just explicitely turn it off.
---
 src/modules/alsa/mixer/paths/analog-output-lineout.conf | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/modules/alsa/mixer/paths/analog-output-lineout.conf b/src/modules/alsa/mixer/paths/analog-output-lineout.conf
index fd6e066..cc88b6e 100644
--- a/src/modules/alsa/mixer/paths/analog-output-lineout.conf
+++ b/src/modules/alsa/mixer/paths/analog-output-lineout.conf
@@ -110,12 +110,9 @@ volume = off
 switch = off
 required-any = any
 
-; This profile path is intended to control the default output, not the
-; headphones. But it should not hurt if we leave the headphone jack
-; enabled nonetheless.
 [Element Headphone]
-switch = mute
-volume = zero
+switch = off
+volume = off
 
 [Element Headphone2]
 switch = mute
-- 
2.1.3



More information about the pulseaudio-discuss mailing list