# HG changeset patch # User Ryan C. Gordon # Date 1001176206 0 # Node ID 3d34b03167f2caeedba1d62686b2eb6531db6975 # Parent d7e118d8fede282b42ef83483cf52a440b7f5428 Patched to work on bigendian machines. diff -r d7e118d8fede -r 3d34b03167f2 playsound/test_sdlsound.c --- a/playsound/test_sdlsound.c Sat Sep 22 16:29:17 2001 +0000 +++ b/playsound/test_sdlsound.c Sat Sep 22 16:30:06 2001 +0000 @@ -168,7 +168,7 @@ sound_desired.rate = 44100; sound_desired.channels = 2; - sound_desired.format = AUDIO_S16; + sound_desired.format = AUDIO_S16SYS; sample = Sound_NewSampleFromFile(argv[1], &sound_desired, 4096 * 4); if (!sample) @@ -181,7 +181,7 @@ } /* if */ sdl_desired.freq = 44100; - sdl_desired.format = AUDIO_S16; + sdl_desired.format = AUDIO_S16SYS; sdl_desired.channels = 2; sdl_desired.samples = 4096; sdl_desired.callback = test_callback;