[SDL] endianness in SDL_audio.c

Frode Tennebø frodet at nvg.ntnu.no
Thu Jan 27 15:28:52 PST 2005


> Le Thu, 27 Jan 2005 15:40:06 +0100 (CET)
>
> Frode Tennebø <frodet at nvg.ntnu.no> a écrit:
> > I had a small problem with an audio stream in LSB while the
> > application ran on an Sparc (big-endian). It took some time
> > tracking it down, but I believe I have found a solution. However,
> > I'm not sure if the original code was intended that way or not, but
> > this Works For Me (tm):

[patch snipped]

> You're right somewhere. I think there is also a problem. I build SDL
> for Atari (m68k, big-endian), and the loopwave SDL demo program was
> not playing sample.wav correctly. And I was wondering where the bug
> was. More investigation needed.

Are you saying that my patch did not work correctly with the SDL demo?

 -Frode

-- 
^ Frode Tennebø | email: frode at tennebo.com | Frode at IRC ^
|  with Standard.Disclaimer; use Standard.Disclaimer;  |





More information about the SDL mailing list