[pulseaudio-tickets] [Bug 40897] pa_namereg_get_default_* has unwanted side-effects

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 10 00:49:34 PDT 2011


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

--- Comment #7 from Arun Raghavan <arun at accosted.net> 2011-10-10 00:49:34 PDT ---
(In reply to comment #6)
> I think it does cause problems. See the comment and code at the end of
> pa_namereg_register() - if there is no default device set when a new device is
> registered, the default device doesn't get set.

As far as I can tell, that's just documenting the (IMO erroneous) behaviour --
everything access the default device via the pa_namereg_get_*() calls, so it's
fine that the default device is not set -- it's a slightly more expensive
operation, but it does mean that we're not forcing a setting that was not
explicitly requested.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the pulseaudio-bugs mailing list