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