[Vorbis-dev] Sample accuracy in reading
Monty
xiphmont at xiph.org
Fri Jun 24 16:06:10 PDT 2005
On Thu, Jun 23, 2005 at 01:35:21PM -0500, Christopher Egner wrote:
> Hey guys,
>
> 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?
It returns OV_EINVAL. You have to read out the previous block before
submitting a new one.
Monty
More information about the Vorbis-dev
mailing list