Bugzilla – Bug 9692
Need to note exact track start point in elapsed samples
Last modified: 2008-10-11 03:22:47 UTC
See change 2990 (http://svn.slimdevices.com/7.3/trunk/squeezeplay/src/squeezeplay/src/audio/decode/decode_output.c?root=Jive&r1=2990&r2=2989&pathrev=2990) from SqueezePlay for a change that makes sure that elapsedSamples gets reset exactly to the number of already-output samples at the start of a new track, instead of just reset to 0 when the start point has recently been passed. We need the same in the ip3k firmware - otherwise sync can drift over time. By how much or how fast I don't know.
Thinking about it some more, the DAC buffer is so small with ip3k that this issue is probably irrelevant. I was thinking that the error would end up be cumulative from track to track but it is not.