[pulseaudio-tickets] [Bug 93946] Changing device profile to HDMI is reset to default after short delay

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jan 31 09:32:32 PST 2016


https://bugs.freedesktop.org/show_bug.cgi?id=93946

--- Comment #8 from Tanu Kaskinen <tanuk at iki.fi> ---
(In reply to Alexander E. Patrakov from comment #7)
> It is not yet known why it thinks that the hdmi-stereo-extra1 profile is not
> suitable.

The reason is most likely this in profile_good_for_output():

        if (sink->active_port->available != PA_AVAILABLE_NO)
            return false;

If the currently active port is not unavailable, no switching happens. David's
patch relaxes this restriction so that if the currently active port has lower
priority than the port that became available, then the switch is done, but
since HDMI has lower priority than speakers, the switch doesn't happen, so the
patch won't fix this bug.

One approach for fixing this would be to modify the port priorities based on
user actions, so that manually selecting the HDMI output would increase the
HDMI port priority above the currently active port (or even above all ports).
Implementing that would be tricky, however, because the user doesn't always
directly select the port. The user may switch the output by changing the
profile, or since this is KDE, the user probably changes the routing by
manipulating the priority lists in module-device-manager. Maybe
module-switch-on-connect should be made aware of the priority configuration
that module-device-manager maintains?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20160131/c4d62e3e/attachment-0001.html>


More information about the pulseaudio-bugs mailing list