[pulseaudio-discuss] [PATCH 5/6] alsa-mixer: Disable line-out if headphone jack is plugged

Sjoerd Simons sjoerd at luon.net
Fri Oct 31 14:01:28 PDT 2014


Line-out gets muted when headphones are plugged in on HDA cards, encode
this in the line-out path so pulse can match that state.
---
 src/modules/alsa/mixer/paths/analog-output-lineout.conf | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/modules/alsa/mixer/paths/analog-output-lineout.conf b/src/modules/alsa/mixer/paths/analog-output-lineout.conf
index 7545c23..831092c 100644
--- a/src/modules/alsa/mixer/paths/analog-output-lineout.conf
+++ b/src/modules/alsa/mixer/paths/analog-output-lineout.conf
@@ -34,6 +34,10 @@ state.plugged = unknown
 state.unplugged = unknown
 required-any = any
 
+[Jack Headphone]
+state.plugged = no
+state.unplugged = unknown
+
 [Jack Line Out Front]
 required-any = any
 
-- 
2.1.1



More information about the pulseaudio-discuss mailing list