[ogg-dev] OggPCM: support for little-endianness only?
ibmalone at gmail.com
Sun Dec 30 15:41:32 PST 2007
Ivo Emanuel Gonçalves wrote:
> A recent discussion over on XiphWiki is trying to decide if OggPCM
> should support only little-endianness or the usual combo of big and
> 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."
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. If you prefer to
distribute it in little endian all well and good.
Actually, if you wanted to come up with an argument for either it
would be that big endian lets you strip bytes off the end of a
 Those who actually developed it may disagree.
More information about the ogg-dev