[RAOP] [PATCH] Fix audio synchronisation

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

 



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



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

  Powered by Linux