src/audio/xaudio2/SDL_xaudio2.c
changeset 6352 a9bcd26e7105
parent 6161 84e12f37b20c
child 6885 700f1b25f77f
child 8353 82447809a27e
--- a/src/audio/xaudio2/SDL_xaudio2.c	Thu Jul 05 07:26:18 2012 -0400
+++ b/src/audio/xaudio2/SDL_xaudio2.c	Thu Jul 05 12:16:44 2012 -0400
@@ -332,7 +332,7 @@
         return 0;
     }
     this->hidden->nextbuf = this->hidden->mixbuf;
-    SDL_memset(this->hidden->mixbuf, '\0', 2 * this->hidden->mixlen);
+    SDL_memset(this->hidden->mixbuf, 0, 2 * this->hidden->mixlen);
 
     /* We use XAUDIO2_DEFAULT_CHANNELS instead of this->spec.channels. On
        Xbox360, this means 5.1 output, but on Windows, it means "figure out