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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Sep 1 15:45:58 PDT 2013


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

--- Comment #37 from Hajime Fujita <crisp.fujita at nifty.com> ---
Hi Matthias,

> 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:

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.

> Hajime, would you mind if I forked your project github to test my packet buffer?

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.

-- 
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/20130901/ff5e6f90/attachment.html>


More information about the pulseaudio-bugs mailing list