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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 2 00:00:31 PDT 2013


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

--- Comment #38 from Matthias <pulseaudio at niafc.de> ---
Hi Hajime,

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

That sounds reasonable.

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

I had a quick look through the developer documentation but did not find
anything. However, if you look at module-raop-sink.c, function
sink_process_msg, it looks to me as if the connect sequence is called when a
PA_SINK_RUNNING state is set. Perhaps we could do the connect (and only this)
when PA_SINK_INIT state is set.
Setting PA_SINK_RUNNING (in my understanding) is set when the sink is connected
and should play audio - this is were audio playback (i.e. sending sync and
audio packets) should happen.

Btw.: I just tested your latest patch (with the memchunk offset) and kindly ask
you to put "Cambridge Audio Minx Air 200" on your supported device list. Works
like a charm :).

Greetings,

Matthias

-- 
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/20130902/c48bbd73/attachment.html>


More information about the pulseaudio-bugs mailing list