QUOTE(blakov @ Feb 25 2006, 01:23 PM)
Ok, but when I use
ov_read(OggVorbis_File *vf, char *buffer, int length, int bigendianp, int word, int sgned, int *bitstream);word Specifies word size. Possible arguments are 1 for 8-bit samples, or 2 or 16-bit samples. Typical value is 2.
How to understand how ogg file (8bits or 16bits) is coded?
Sorry for my english :/
Internally, the encoded data is in floats. If you want full flexibility, you can use
ov_read_float and you'll receive the decoded data in float format so you can then do with it as you will.