emscripten: fix warnings in tests
This commit is contained in:
parent
a71e558d85
commit
d8884b845e
4 changed files with 10 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue