Add note.
authorCarl Hetherington <cth@carlh.net>
Thu, 25 Jul 2013 12:22:33 +0000 (13:22 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 25 Jul 2013 12:22:33 +0000 (13:22 +0100)
doc/design/timing.tex

index 45252ea3633db95534a7df53011446d5dc1c194c..d71b48f23e231890f96d86214326ed248d7ad63b 100644 (file)
@@ -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}