Skip to content

Commit 7c2a900

Browse files
committed
Fix test
1 parent ebe8cb9 commit 7c2a900

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/test_interactive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ def test_audio_worklet(self):
296296
# Tests AudioWorklet with emscripten_lock_busyspin_wait_acquire() and friends.
297297
@also_with_minimal_runtime
298298
def test_audio_worklet_emscripten_locks(self):
299-
self.btest('webaudio/audioworklet_emscripten_locks.cpp', expected='0', args=['-sAUDIO_WORKLET', '-sWASM_WORKERS', '-pthread', '-sPTHREAD_POOL_SIZE=2'])
299+
self.btest('webaudio/audioworklet_emscripten_locks.c', expected='0', args=['-sAUDIO_WORKLET', '-sWASM_WORKERS', '-pthread', '-sPTHREAD_POOL_SIZE=2'])
300300

301301
# Tests a second AudioWorklet example: sine wave tone generator.
302302
def test_audio_worklet_tone_generator(self):

test/webaudio/audioworklet_emscripten_locks.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ EM_JS(void, InitHtmlUi, (EMSCRIPTEN_WEBAUDIO_T audioContext), {
4848
};
4949
});
5050

51-
bool PollTestSuccess(double, void *) {
51+
bool PollTestSuccess(double time, void* data) {
5252
if (testSuccess) {
5353
printf("Test success!\n");
5454
#ifdef REPORT_RESULT

0 commit comments

Comments
 (0)