Mercurial > SDL_sound_CoreAudio
changeset 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 | d7e118d8fede |
children | 69d56e196de7 |
files | playsound/test_sdlsound.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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;