[vorbis-dev] Uncompressed size in bytes

gtgbr at gmx.net gtgbr at gmx.net
Tue Jul 29 14:55:35 PDT 2003



Andrew Csikvari wrote:
> How can I get the bitstream decompressed size?

It's the amount of samples contained in the .ogg file times whatever bit
resolution your player wants to play it (see below), or 4 if you don't
make a conversion.

> The sample bits are always 16?

Internally, Vorbis is always 32bit float and doesn't know about things
like 8, 16 or 24 bit etc. It's up to the player what to make out of it,
i.e. at what bit resolution the audio shall be played. In not a
programmer, but your mail suggests that ov_read() supports a few
standard bit resolutions to convert to.

<p>Moritz
--- >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