[pulseaudio-discuss] [PATCH 3/3] sink, source: copy priority from active port

Arun Raghavan arun at arunraghavan.net
Mon Jan 30 09:24:33 UTC 2017


On Thu, 8 Sep 2016, at 04:36 PM, Tanu Kaskinen wrote:
> It was reported in bug 93006 that on hardware that has HDMI and analog
> outputs on different cards, the HDMI sink is chosen by default even when
> headphones are plugged in. The headphone port has higher priority than
> the HDMI port, but that is not reflected in the sink priorities. This
> patch changes that - the sink/source priority is now the same as the
> active port priority, unless the sink/source doesn't have any ports, in
> which case the old priority logic is retained.
> 
> BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=93006
> ---

I don't agree with this approach -- it conflates the priority values of
two different objects, which IMO is wrong.

I think we should adjust the sink priorities independently to make sure
we get the default setup that we want.

-- Arun


More information about the pulseaudio-discuss mailing list