[pulseaudio-discuss] [PATCH] alsa-mixer: Make line out path unavailable when "Front Headphone" is plugged in

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Tue May 5 02:00:19 PDT 2015


On Tue, 2015-05-05 at 09:45 +0200, David Henningsson wrote:
> This case was apparently overlooked.
> 
> Signed-off-by: David Henningsson <david.henningsson at canonical.com>
> ---
>  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 53ee2f4..68f444a 100644
> --- a/src/modules/alsa/mixer/paths/analog-output-lineout.conf
> +++ b/src/modules/alsa/mixer/paths/analog-output-lineout.conf
> @@ -29,6 +29,10 @@ required-any = any
>  state.plugged = no
>  state.unplugged = unknown
>  
> +[Jack Front Headphone]
> +state.plugged = no
> +state.unplugged = unknown
> +
>  [Jack Line Out Front]
>  required-any = any

Looks good to me.

-- 
Tanu



More information about the pulseaudio-discuss mailing list