[vorbis-dev] Uncompressed size in bytes

Stan Seibert volsung at mailsnare.net
Tue Jul 29 15:27:00 PDT 2003



On Tue, 2003-07-29 at 16:55, gtgbr at gmx.net wrote:
> > 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.

This is correct.  ov_read() does the float to integer conversion for the
caller to whatever format is requested (8/16 bit, signed/unsigned,
big/little endian).  To get at the floating point numbers directly, use
ov_read_float().


---
Stan Seibert

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