[pulseaudio-tickets] [Bug 42804] raop module does not work with shairport

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Feb 17 10:38:57 PST 2013


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

--- Comment #9 from Fernando Herrera <fherrera at onirica.com> ---
The garbage you are seeing in raop_play from git master is causes by a wrong
initialization secuence. The current code does:

        raopcl_connectcontrol(raopcld, 6001);
        raopcl_connecttime(raopcld, 6002);

but raopcl_connectcontrol starts a thread (raopcl_sync) which tries to write to
the time server socket (raopcld->tfd) which is only initialized after
reaopcl_connecttime, so it ends up writing to 0 (standard output). That is why
you see those packets on the console.

Changing the order to:

        raopcl_connecttime(raopcld, 6002);
        raopcl_connectcontrol(raopcld, 6001);

should fix that problem. 

But even fixing this minor problem, it is not working :)

-- 
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/20130217/f23b7b68/attachment.html>


More information about the pulseaudio-bugs mailing list