Byte order in sound drivers

Haavard Kvaalen havardk at
Mon Dec 3 05:42:25 EST 2001

On Sun, 2 Dec 2001, Benjamin Herrenschmidt wrote:

> Most recent machines don't do HW byteswap, and so accept only
> big-endian samples. The way this is implemented in our driver
> currently is a bit weird though, the setformat ioctl won't fail when
> trying to set an LE format, but it will set the equivalent BE format.

This is the correct way to tell the application what format the driver can
handle, and XMMS depends on this to be working.

Håvard Kvålen

** Sent via the linuxppc-dev mail list. See

More information about the Linuxppc-dev mailing list