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

Sjoerd Simons sjoerd at luon.net
Fri Oct 31 14:01:26 PDT 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 66639a5..7545c23 100644
--- a/src/modules/alsa/mixer/paths/analog-output-lineout.conf
+++ b/src/modules/alsa/mixer/paths/analog-output-lineout.conf
@@ -92,12 +92,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.1



More information about the pulseaudio-discuss mailing list