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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux