aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-05-21 18:03:11 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-05-21 18:03:11 -0700
commit1cb12b85df682ca418bc03e29d70cf54b5054f1d (patch)
tree184a43d4ecfda6c8da357ecd5747af483dd96768
parente7d0bd7284e2e5847a5946dea763560b27a2d9f8 (diff)
fix test_sdl_audio
-rw-r--r--tests/sdl_audio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sdl_audio.c b/tests/sdl_audio.c
index ce3bf5a9..ae1b89e9 100644
--- a/tests/sdl_audio.c
+++ b/tests/sdl_audio.c
@@ -9,7 +9,7 @@ Mix_Chunk *sound, *sound2;
int play2();
int play() {
- int channel = Mix_PlayChannel(-1, sound, 1);
+ int channel = Mix_PlayChannel(-1, sound, 0);
assert(channel == 0);
emscripten_run_script("setTimeout(Module['_play2'], 500)");
@@ -26,7 +26,7 @@ void done(int channel) {
int play2() {
Mix_ChannelFinished(done);
- int channel2 = Mix_PlayChannel(-1, sound2, 1);
+ int channel2 = Mix_PlayChannel(-1, sound2, 0);
assert(channel2 == 1);
return channel2;
}