Byte order in sound drivers

Jeff Koftinoff jeffk at jdkoftinoff.com
Sat Dec 1 21:38:48 EST 2001


On Saturday, December 1, 2001, at 02:16 AM, Bryce McKinlay wrote:

>
> It seems that some of the newwer media player applications (including
> mplayer and the latest xmms from CVS) swap the byte order of sound
> samples before playing them on PPC, and this results in nothing but
> static from both the dmasound and usb audio drivers.
>
> Is this because the sound driver perhaps already doing endian-swapping,
> and can I disable it? Are these applications correct to want to convert
> samples into the native endian-ness?
>
> I'm using a 2.4.14 benh kernel.
>
> cheers
>
> Bryce.
>
>

XMMS has endian problems with wav files, but not mp3 files - It is
listed as a bug as well for sparc.  The problem solely lies with
applications that are written incorrectly.

jeff


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list