X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=doc%2Fdesign%2Ftiming.tex;h=d71b48f23e231890f96d86214326ed248d7ad63b;hb=5dc2dbdb6639f8d617a40209ad603d2a38f9df2a;hp=45252ea3633db95534a7df53011446d5dc1c194c;hpb=adf17c5e1992186c7f8d63d9cffd087311164ffa;p=dcpomatic.git diff --git a/doc/design/timing.tex b/doc/design/timing.tex index 45252ea36..d71b48f23 100644 --- a/doc/design/timing.tex +++ b/doc/design/timing.tex @@ -37,6 +37,12 @@ scaling video, resampling audio). The resampling is awkward, though, as you really need one resampler per source. So it might make more sense to put stuff in the decoder. But then, what's one map of resamplers between friends? +On the other hand, having the resampler in the player is confusing. Audio comes in +at a frame `position', but then it gets resampled and not all of it may emerge from +the resampler. This means that the position is meaningless, and we want a count +of samples out from the resampler (which can be done more elegantly by the decoder's +\texttt{\_audio\_position}. + \section{Options for what \texttt{Time} is a function of}