[pulseaudio-discuss] [Patch] RAOP: fix audio synchronisation, take two

Colin Leroy colin at colino.net
Sat Sep 9 20:17:47 UTC 2017

On 09 September 2017 at 20h44, Georg Chini wrote:


> pa_smoother_pause() and pa_smoother_resume() do not seem to
> work as expected from my experience. After a smoother_resume()
> the initial error is high again, so using pause()/resume() is no big
> advantage over reset().

Thanks a bunch to you too, Georg!

I figured out the problem (but not its root cause): after an
idle/running cycle, the smoother got stuck and returned always the same
value. I didn't figure out why. But resetting it before resuming it
fixed the problem :)

So here's the last iteration of the patch, which I now consider to work
well and would like to submit for inclusion (after addressing the
team's remarks of course).

Thanks again to both of you for your help :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-RAOP-Announce-real-latency.patch
Type: text/x-patch
Size: 6203 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20170909/71524f81/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20170909/71524f81/attachment.sig>

More information about the pulseaudio-discuss mailing list