diff playsound/test_sdlsound.c @ 51:3d34b03167f2

Patched to work on bigendian machines.
author Ryan C. Gordon <icculus@icculus.org>
date Sat, 22 Sep 2001 16:30:06 +0000
parents 4acb5260d684
children
line wrap: on
line diff
--- 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;