[pulseaudio-discuss] [RAOP] [PATCH] Fix audio synchronisation

Hajime Fujita crisp.fujita at nifty.com
Wed Jul 26 03:49:18 UTC 2017


Hi Colin,

Thank you for working on this!

I haven’t had a chance to actually test the patch, but just skimmed it. The idea seems reasonable. Will try to see if I can test it this weekend.

> -    c->rtptime += length / 4;
> +    c->rtpdiff = length / 4;
> +    c->rtptime += c->rtpdiff;

Could you remind me what was “/4”? Was that because 16-bit audio data x 2 channels?
Sorry, it’s been a few years since I started working on RAOP code.


Thanks,
Hajime

> On Jul 22, 2017, at 9:21 AM, Colin Leroy <colin at colino.net> wrote:
> 
> On 22 July 2017 at 14h53, Colin Leroy wrote:
> 
> Hi, 
> 
>> I think I've figured out how to cleanly synchronise audio and video
>> with RAOP with relying on my empirical "shifting audio 2300ms in
>> mplayer works".
> 
> *without*relying on, obviously :)
> 
> -- 
> Colin
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss



More information about the pulseaudio-discuss mailing list