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

David Henningsson david.henningsson at canonical.com
Mon Nov 3 00:03:31 PST 2014



On 2014-10-31 22:01, Sjoerd Simons wrote:
> 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.

This one should be uncontroversial, and I was surprised we did not do 
this already. Pushed, thanks!

> ---
>   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
>
>

-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic


More information about the pulseaudio-discuss mailing list