Additional cleanup exposed by building with a C++ compiler

This commit is contained in:
Sam Lantinga
2024-08-25 21:32:29 -07:00
parent f08ac438ed
commit 00c409cff8
26 changed files with 84 additions and 120 deletions

View File

@@ -2032,7 +2032,7 @@ static bool WaveLoad(SDL_IOStream *src, WaveFile *file, SDL_AudioSpec *spec, Uin
*/
spec->freq = format->frequency;
spec->channels = (Uint8)format->channels;
spec->format = 0;
spec->format = SDL_AUDIO_UNKNOWN;
switch (format->encoding) {
case MS_ADPCM_CODE: