alsa-mixer: don't make lineout unavailable when headphones are plugged in
authorTanu Kaskinen <tanuk@iki.fi>
Sun, 28 Oct 2018 11:10:36 +0000 (13:10 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Sun, 28 Oct 2018 11:10:36 +0000 (13:10 +0200)
This reverts commit 66f97c35bda9524985b8d34d9a7dbfa9b1359df5. The commit
message was:

    alsa-mixer: Disable line-out if headphone jack is plugged

    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.

I don't think the mentioned auto-muting happens any more by default,
and some users want to use lineout while having headphones plugged in.

Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/583

src/modules/alsa/mixer/paths/analog-output-lineout.conf

index 4add78d..3df5171 100644 (file)
@@ -25,14 +25,6 @@ state.plugged = unknown
 state.unplugged = unknown
 required-any = any
 
-[Jack Headphone]
-state.plugged = no
-state.unplugged = unknown
-
-[Jack Front Headphone]
-state.plugged = no
-state.unplugged = unknown
-
 [Jack Front Line Out]
 required-any = any