[Vorbis-dev] Sample accuracy in reading
disciplezero-nl at syrrax.com
Thu Jun 23 11:35:21 PDT 2005
I've finished my work on reading vorbis files (straight reading at either
PCM sample lengths, or time lengths). However, I've run across a question.
When you call vorbis_synthesis_read, I assume that increments the internal
ptrs so you don't get the same data twice. The question is, what happens if
you call vorbis_synthesis and vorbis_synthesis_blockin? Does the next call
have what SHOULD be the next PCM data, or has it incidentally been
invalidated? A little simpler, is it safe to load another page packet and
decode while there is still pcm data waiting?
More information about the Vorbis-dev