[ogg-dev] OggPCM: support for little-endianness only?

Ian Malone ibmalone at gmail.com
Mon Dec 31 02:59:07 PST 2007

Ian Malone wrote:
 > Ivo Emanuel Gonçalves wrote:
 >> List,
 >> A recent discussion over on XiphWiki is trying to decide if OggPCM
 >> should support only little-endianness or the usual combo of big and
 >> little.
 >> It started with the following statement by an user (Qqq):
 >> "Portable players are usually ARM, which is usually little-endian. The
 >> Macintosh is now little-endian. Obviously the PC is little-endian.
 >> Clearly there is a winner. It's long past time to stop putting the
 >> bytes in an order that makes both programmers and computers do extra
 >> work for no good reason. Don't try to hold back the tide."
 >> Thoughts?
 > Really it's pretty trivial and hardly taxing on the processor either.
 > As far as I can tell the OggPCM standard was designed to provide a
 > way to wrap and describe arbitrary PCM data[1].  If you prefer to
 > distribute it in little endian all well and good.

Addendum: no matter what choice is made you will end up doing type
conversion anyway, says Mr Murphy.


More information about the ogg-dev mailing list