19#include <emscripten/emscripten.h>
56 emscripten_cancel_main_loop();
63 SDL_Log(
"Device has %u bytes queued.\n", (
unsigned int) queued);
66 SDL_Log(
"Device queued %u more bytes.\n", (
unsigned int)
wave.soundlen);
75main(
int argc,
char *argv[])
104 signal(SIGHUP,
poked);
106 signal(SIGINT,
poked);
108 signal(SIGQUIT,
poked);
110 signal(SIGTERM,
poked);
132 emscripten_set_main_loop(
loop, 0, 1);
#define SDL_LoadWAV(file, spec, audio_buf, audio_len)
#define SDL_GetQueuedAudioSize
#define SDL_LogSetPriority
#define SDL_GetAudioStatus
@ SDL_LOG_CATEGORY_APPLICATION
int main(int argc, char *argv[])