emscripten: fix warnings in tests

This commit is contained in:
Anonymous Maarten 2022-11-01 13:10:46 +01:00 committed by Anonymous Maarten
parent a71e558d85
commit d8884b845e
4 changed files with 10 additions and 3 deletions

View file

@ -70,12 +70,13 @@ open_audio()
SDL_PauseAudioDevice(device, SDL_FALSE);
}
#ifndef __EMSCRIPTEN__
static void reopen_audio()
{
close_audio();
open_audio();
}
#endif
void SDLCALL
fillerup(void *unused, Uint8 * stream, int len)