diff options
author | Jukka Jylänki <jujjyl@gmail.com> | 2014-05-19 01:31:34 +0300 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2014-05-20 02:05:13 +0300 |
commit | f1be27928f95ada02836e0b955b03997be85a70a (patch) | |
tree | 4cc054e80a0e8a413c753b3831ab5f182fe484e1 /tests | |
parent | f681994208ed73f7642e5658ba9482c1743f0f35 (diff) |
Implement Web Audio API playback backend to SDL Mix_* interface. This fixes https://github.com/kripken/emscripten/commit/5b41371bb5897a49e1fdcad18d053f775105c846 when Web Audio API is available, and works around the Firefox bug https://bugzilla.mozilla.org/show_bug.cgi?id=654787.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/sdl_audio_mix.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/sdl_audio_mix.c b/tests/sdl_audio_mix.c index a1c0485d..422fc122 100644 --- a/tests/sdl_audio_mix.c +++ b/tests/sdl_audio_mix.c @@ -58,7 +58,9 @@ void one_iter() { Mix_HaltChannel(soundChannel); Mix_HaltMusic(); int result = 1; +#ifdef REPORT_RESULT REPORT_RESULT(); +#endif break; }; } |