[LAD] Drift compensation document

Fons Adriaensen fons at linuxaudio.org
Sun Sep 3 13:34:12 UTC 2017


On Sat, Sep 02, 2017 at 11:54:15AM -0400, Fred Gleason wrote:
 
> One approach that I’ve used with good success here is to run
> the decoded PCM through a FIFO buffer between the SRC and the
> play-out stages and then use the size of that FIFO (which will
> change dynamically in response to things like network congestion)
> to feed a PLL that drives the converter ratio for the SRC stage.

Which is what zita-ajbridge and njbridge do in software.
The difference is that since data enters and leaves the
fifo in blocks of samples and not as a constant rate stream
it's a bit more involved to obtain the (average) FIFO size.

Ciao,

-- 
FA

A world of exhaustive, reliable metadata would be an utopia.
It's also a pipe-dream, founded on self-delusion, nerd hubris
and hysterically inflated market opportunities. (Cory Doctorow)



More information about the Linux-audio-dev mailing list