]> code.delx.au - pulseaudio/commitdiff
alsa-mixer: Add "Line Out Jack" to analog-output.conf
authorDavid Henningsson <david.henningsson@canonical.com>
Thu, 16 May 2013 08:56:21 +0000 (10:56 +0200)
committerDavid Henningsson <david.henningsson@canonical.com>
Fri, 17 May 2013 13:48:02 +0000 (15:48 +0200)
A stationary computer usually has headphone jack(s) and line out jacks.
In some cases analog-output.conf will be a subset of
analog-output-headphones.conf, causing line outs to be unusable (because
headphones are unplugged).

This late in the cycle, this was the safest way I could think of to try
to fix this for a particular computer. In later versions of PulseAudio
we could consider making a dedicated line out path instead, and have
proper jack detection there.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
src/modules/alsa/mixer/paths/analog-output.conf

index 1b7482c9db6b46956c4fe37125b7dda20964b63b..3a552c9ce4111806a0737fa148d94a7b559e855f 100644 (file)
 [General]
 priority = 99
 
+[Jack Line Out]
+state.plugged = unknown
+state.unplugged = unknown
+
+[Jack Line Out Phantom]
+state.plugged = unknown
+state.unplugged = unknown
+
 [Element Hardware Master]
 switch = mute
 volume = merge