<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#c37">Comment # 37</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:crisp.fujita@nifty.com" title="Hajime Fujita <crisp.fujita@nifty.com>"> <span class="fn">Hajime Fujita</span></a>
</span></b>
<pre>Hi Matthias,
<span class="quote">> If by "huge latency" you mean the interval of time between "playing a sound"
> and the _first time_ your airplay device plays that sound,
> I could think of a way to circumvent this:</span >
I meant for example,
1. launch a movie player and start playing any movie
2. the picture starts moving almost immediately but the sound track have to
wait until the Airplay device is initialized (usually takes a few seconds)
3. Therefore there will be a huge gap between the picture and the sound track.
I'm not sure how the circular buffer would resolve this issue. (Buffer in
general sounds like increasing the delay.)
I think the fundamental issue is that a client (movie/music player) thinks that
the audio device (PulseAudio) is ready and starts playing the picture, while
atcually it is not ready yet.
I guess there should be some way to tell the application that "we are not ready
yet", or at least tell some latency. I think we need to understand more about
PulseAudio internals.
<span class="quote">> Hajime, would you mind if I forked your project github to test my packet buffer?</span >
Of course not :) Anyone is welcome to fork from my tree.
However, please note that I'm now completely reformatting all patches
(including Martin's) so that
* they could support both TCP and UDP protocols at the same time
* they could easily be merged into master
So in near future my current "v4.0+raop" branch will be revoked and I'll move
to the new, clean branch.
However even in that case, I think I can take care of moving your additinal
patches to the new branch if these patches are relatively small.</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>