[Patch] RAOP: fix audio synchronisation, take two

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09 September 2017 at 18h00, Tanu Kaskinen wrote:

Hi Tanu,

Your mail's empty :)

Anyway, after this patch, there still is a bug left (which was not
visible with the previous patch where I did 

if (latency < 0) {
    latency = 0;
}

in sink_get_latency().

The bug is that latency's all wrong (like, -10 to -5 seconds instead of
+2.3) after a pause (that is, after switching to PA_SINK_PA_SINK_IDLE
and then back to PA_SINK_RUNNING). At the first playback, it's fine.

I don't understand why, and if you have some pointers on how pa_rtpoll
and pa_smoother work, I guess that'd help.
-- 
Colin
-------------- 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/6f77a719/attachment.sig>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux