[vorbis-dev] Encoding the wrong Endian and AIFF

David Burnett vargol at bigfoot.com
Sun Jun 25 08:18:41 PDT 2000



I know this is probably blindingly obvious, but
I can't find it anywhere. Is there a way to tell the
Vorbis codec what endian your samples are or do I
have to do my own byte reversal.

AIFF is Be's 'standard' audio file format, and its encoded
big endian, not little endian even on Intel boxes.

I know for decoding ov_read has an endian option,
but I can't see an equaivalent for encoding.

Talking of AIFF format, as anyone found a guide
to the header, I'n just skipping it at the
moment, I'd rather do some checking.

Dave, who hope he got his endians the right way around.

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



More information about the Vorbis-dev mailing list