<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - raop module does not work with shairport"
href="https://bugs.freedesktop.org/show_bug.cgi?id=42804#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - raop module does not work with shairport"
href="https://bugs.freedesktop.org/show_bug.cgi?id=42804">bug 42804</a>
from <span class="vcard"><a class="email" href="mailto:fherrera@onirica.com" title="Fernando Herrera <fherrera@onirica.com>"> <span class="fn">Fernando Herrera</span></a>
</span></b>
<pre>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 :)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>