> > 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) 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20160201/d704fa21/attachment.html>