[vorbis-dev] Finding size of decoded data

Eric Fortier efortier at techlogic.ca
Tue Oct 22 02:19:35 PDT 2002



Hi all,

This is a newbie question, but I can't seem to find an answer to it.

I want to know if it's possible to find out, or compute, the total PCM decoded
size of a coded vorbis sound file.

What I'm trying to do is decode all data to a buffer, but I don't know how
to allocate the buffer. Worst case I could do some kind of smaller buffer
list, but I would prefer not to, as it would degrade performance.

Thanks for any help.

--Eric

<p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list