[pulseaudio-tickets] [Bug 87002] Headphones selected on first run while unplugged and other ports are available

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Dec 5 05:11:58 PST 2014


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

--- Comment #17 from Mario Sanchez Prada <msanchez at gnome.org> ---
(In reply to David Henningsson from comment #16)
> [...]
> Well, it's a hack. And the hackier, the more likely we regress some other
> use case.

Agreed. I never thought of that as a solution but more as an experiment,
hopefully able to spark some discussion. Seems it worked, pretty nicely from
that pov :)

Anyway, I'm building PA again enabling the unit tests, to at least check
whether I'm regressing something obvious..

> I'm more thinking that maybe one could initialize the port availability
> earlier, even before pa_card_new, using the
> pa_device_port_new_data_set_available function. Then we could act
> accordingly already in the callback in 1).

If that was possible, I think it would be awesome, I think that could simplify
things a lot. Still, if I understand things correctly, we still could not
revert the patch for bug 73375, even if we do that, as the sinks/sources would
not be initialized at that point, but in init_profile.

Does that make sense at all?

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


More information about the pulseaudio-bugs mailing list