test/testresample.c
changeset 11988 8fa59be85dfb
parent 11811 5d94cb6b24d3
child 12503 806492103856
     1.1 --- a/test/testresample.c	Tue May 15 01:04:11 2018 -0400
     1.2 +++ b/test/testresample.c	Tue May 15 00:04:02 2018 -0400
     1.3 @@ -93,7 +93,7 @@
     1.4      SDL_WriteLE32(io, 0x45564157);      /* WAVE */
     1.5      SDL_WriteLE32(io, 0x20746D66);      /* fmt */
     1.6      SDL_WriteLE32(io, 16);      /* chunk size */
     1.7 -    SDL_WriteLE16(io, 1);       /* uncompressed */
     1.8 +    SDL_WriteLE16(io, SDL_AUDIO_ISFLOAT(spec.format) ? 3 : 1);       /* uncompressed */
     1.9      SDL_WriteLE16(io, cvtchans);   /* channels */
    1.10      SDL_WriteLE32(io, cvtfreq); /* sample rate */
    1.11      SDL_WriteLE32(io, avgbytes);        /* average bytes per second */