How can i determine how many bits per sample are in .ogg files? Thanks. -- Wayne Davis - wfdavis@seas.upenn.edu - PGP Key Available --- >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-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Fri, Mar 30, 2001 at 07:06:21PM -0500, Wayne F Davis wrote:> How can i determine how many bits per sample are in .ogg files?Internally, vorbis works with floating point samples, which are only converted to the expected depth on output. AFAIK, there's no way to tell the bit depth of the original input to the encoder. However, I suspect there's an assumption of 16-bit samples in the current code. Hope that helps, -ralph --- >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-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
At 07:06 PM 3/30/01 -0500, you wrote:>How can i determine how many bits per sample are in .ogg files?A vorbis file has no particular number of bits per sample. It's the responsibility of the front-end to change the internal representation (which is floating point) to a 16 bit (or whatever) number. In other words, you can choose how many bits per sample there are. Michael --- >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-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.