[pulseaudio-discuss] [PATCH] switch-on-port-available: Switch from HDMI to analog; but not the other way around

David Henningsson david.henningsson at canonical.com
Sun Jan 31 21:06:24 PST 2016



On 2016-02-01 02:40, Raymond Yau wrote:
>
>  > > If you have headphones plugged in and plug in HDMI; you want sound
>  > > to stay on headphones.
>  > > If you have HDMI plugged in and you plug in headphones; you want sound
>  > > to switch to headphones.
>  > >
>  > > Hence we need to take priority into account as well when determining
>  > > whether to switch to a new profile or not.
>  >
>  > I think the same logic should apply to input ports too. Otherwise looks
>  > good to me.
>  >
>
> https://bugs.freedesktop.org/show_bug.cgi?id=93903
>
> But the bug report is about headphone switch to optical digital out and
> not switch back, usually hdmi and analog codecs attached to different
> hda controller (alsa card)

On Skylake, Braswell and BayTrail they are both on the same controller. 
And some older chips as well, IIRC, but I've forgotten which ones.

>
> what happen when the three input jacks of desktop are not plugged ?
>
> Some hda codecs (via) still have stereo mix as input source but the
> other codecs don't
>

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


More information about the pulseaudio-discuss mailing list