[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
Tue Feb 2 01:24:04 PST 2016


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

--- Comment #12 from David Henningsson <david.henningsson at canonical.com> ---
(In reply to Tanu Kaskinen from comment #11)
> Requiring users to edit the path files doesn't seem like a good solution to
> me. 

Correct - the real solution is module-port-manager.

> I'd rather revert the patch that caused this regression (and I plan to
> do so in OpenEmbedded).

It's not a regression. Switching to analog speakers when HDMI is unplugged (or
turned off) is an improvement. Staying on analog speakers when HDMI is plugged
in, is to keep existing behaviour.

Also, Gnome has a desire to "implement predictable routing in PulseAudio" (see
https://wiki.gnome.org/Design/SystemSettings/Sound ), and this is a step in
that direction. Although that page lists HDMI above internal speakers,
indicating that we should lower the priority of internal speakers. (Which would
also solve this bug, but I'm not sure whether or not we want to do that by
default anyway.)

> But here's another idea for a solution:
> 
> 1) Remember the last profile the user selected for a card.

Isn't that what module-card-restore already does?

> 2) When a port becomes available, check if the currently active profile on
> that card was selected by the user. If not, and the port is part of the last
> user-selected profile, switch to the user-selected profile.

Sorry, but there's too much left out in the above sentence to be able to tell
which scenarios this will break.

-- 
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/20160202/6706c16a/attachment.html>


More information about the pulseaudio-bugs mailing list