[pulseaudio-discuss] [PATCH 3/6] alsa-mixer: Switch off the Headphone element on the line-out path

David Henningsson david.henningsson at canonical.com
Sun Nov 2 23:43:36 PST 2014



On 2014-10-31 22:01, Sjoerd Simons wrote:
> If the Headphone element isn't turned off when switching to line-out
> (with headphone plugged in) it can keep outputting audio (even though
> it's mute/zero!?).. So just explicitely turn it off.
> ---
>   src/modules/alsa/mixer/paths/analog-output-lineout.conf | 7 ++-----
>   1 file changed, 2 insertions(+), 5 deletions(-)
>
> diff --git a/src/modules/alsa/mixer/paths/analog-output-lineout.conf b/src/modules/alsa/mixer/paths/analog-output-lineout.conf
> index 66639a5..7545c23 100644
> --- a/src/modules/alsa/mixer/paths/analog-output-lineout.conf
> +++ b/src/modules/alsa/mixer/paths/analog-output-lineout.conf
> @@ -92,12 +92,9 @@ volume = off
>   switch = off
>   required-any = any
>
> -; This profile path is intended to control the default output, not the
> -; headphones. But it should not hurt if we leave the headphone jack
> -; enabled nonetheless.
>   [Element Headphone]
> -switch = mute
> -volume = zero
> +switch = off
> +volume = off

I wonder if we should change this for another reason, namely the same 
reason we do this in the speaker path, i e, to avoid a potential volume 
bump. Arun, would this apply to this too?


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


More information about the pulseaudio-discuss mailing list