[vorbis-dev] Questions, questions

Tony Arcieri tarcieri at gjhsnews.mesa.k12.co.us
Wed Oct 6 18:53:12 PDT 1999



So, converting back to the canonical 16-bit little endian PCM... I have a
few questions:

The samples in the floats are linear, correct?

Will there always be two channels?  If not, how do I find out how many
channels there are?

Should I just cast the char to a double?

I also suppose that I will have to check the host's byte order, for if it
is big endian the samples will all have to be converted to little
endian...

Tony Arcieri

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/



More information about the Vorbis-dev mailing list