test/loopwave.c
changeset 2145 5c14978b1e97
parent 2049 5f6550e5184f
child 2179 8b76cc268771
--- a/test/loopwave.c	Thu Jul 05 02:30:10 2007 +0000
+++ b/test/loopwave.c	Thu Jul 05 02:45:47 2007 +0000
@@ -46,14 +46,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;
 }