Mercurial > sdl-ios-xcode
diff test/loopwave.c @ 4002:e905bb5d9bc3 SDL-1.2
Fixed our own test app. :)
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Thu, 05 Jul 2007 02:44:54 +0000 |
parents | 290b5baf2fca |
children |
line wrap: on
line diff
--- a/test/loopwave.c Thu Jul 05 02:24:36 2007 +0000 +++ b/test/loopwave.c Thu Jul 05 02:44:54 2007 +0000 @@ -43,14 +43,14 @@ /* Go! */ while ( waveleft <= len ) { - SDL_MixAudio(stream, waveptr, waveleft, SDL_MIX_MAXVOLUME); + SDL_memcpy(stream, waveptr, waveleft); stream += waveleft; len -= waveleft; waveptr = wave.sound; waveleft = wave.soundlen; wave.soundpos = 0; } - SDL_MixAudio(stream, waveptr, len, SDL_MIX_MAXVOLUME); + SDL_memcpy(stream, waveptr, len); wave.soundpos += len; }