[Vorbis-dev] Finding the size of a vorbis stream

Trent Gamblin trent at gamblin.ca
Thu Mar 22 19:18:41 PDT 2007


Hello,

I am trying to make an OGG Vorbis player for my cell phone. I have
ported J-Ogg to J2ME, and it is decoding files in non-realtime. The
problem is that I need to convert the OGG into a WAVE stream, which
needs the size of the data in the header which has to be read before the
OGG is fully decoded. So my question is, is there any way to find the
size of the resulting PCM data before decoding all of it?

Thanks,
Trent



More information about the Vorbis-dev mailing list