GNOME Bugzilla – Bug 594256
improved slave-skew resynch mechanism
Last modified: 2009-09-08 11:01:14 UTC
Created attachment 142552 [details] [review] patch The old one did the mistake of not actually advancing the ringbuffer, it just adjusted the segbase, introducing the whole lenght of the ringbuffer as an extra delay in the pipeline. Also make sure that the resync can never go back in time, producing the same timestamps that has already been produced, as this can cause severe problems for sinks and other synching mechanisms.
Created attachment 142553 [details] [review] patch
Sorry about the two patches.
commit 058776bcf1ab218b509d19685a0b528d71c65f98 Author: Håvard Graff <havard.graff@tandberg.com> Date: Tue Sep 8 12:59:20 2009 +0200 baseaudiosrc: improve slave skew resync The old one did the mistake of not actually advancing the ringbuffer, it just adjusted the segbase, introducing the whole lenght of the ringbuffer as an extra delay in the pipeline. Also make sure that the resync can never go back in time, producing the same timestamps that has already been produced, as this can cause severe problems for sinks and other synching mechanisms. Fixes #594256