[pulseaudio-tickets] [Bug 55135] module-match asserts on channels=0

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 27 06:35:03 PDT 2012


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

--- Comment #3 from Tanu Kaskinen <tanuk at iki.fi> ---
I couldn't reproduce this, but the information posted so far is enough to find
the error. module-match uses the SINK_INPUT_NEW hook, and then relies on the
sample spec being properly initialized. This is clearly wrong: if the sink
input uses the FIX_CHANNELS flag, the number of channels will be unknown until
the sink input has been routed to some sink.

In your case the FIX_CHANNELS flag is not being used. I'm not sure if there's
some other bug involved in your case (I wouldn't be surprised), but fixing
module-match should make things work for you. If the fix doesn't turn out to be
hard to do, I'll post a patch soon.

-- 
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/20120927/0d4c22c9/attachment.html>


More information about the pulseaudio-bugs mailing list