Skip to content

Commit

Permalink
Patched to work on bigendian machines.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Sep 22, 2001
1 parent 24f86ec commit 2b3f53f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions playsound/test_sdlsound.c
Expand Up @@ -168,7 +168,7 @@ int main(int argc, char **argv)

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)
Expand All @@ -181,7 +181,7 @@ int main(int argc, char **argv)
} /* 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;
Expand Down

0 comments on commit 2b3f53f

Please sign in to comment.