@@ -311,28 +311,28 @@ def test_audio_worklet_stereo_io(self):
311
311
os .mkdir ('audio_files' )
312
312
shutil .copy (test_file ('webaudio/audio_files/emscripten-beat.mp3' ), 'audio_files/' )
313
313
shutil .copy (test_file ('webaudio/audio_files/emscripten-bass.mp3' ), 'audio_files/' )
314
- self .btest ('webaudio/audioworklet_in_out_stereo.c' , expected = '0 ' , args = ['-sAUDIO_WORKLET' , '-sWASM_WORKERS' ])
314
+ self .btest_exit ('webaudio/audioworklet_in_out_stereo.c' , args = ['-sAUDIO_WORKLET' , '-sWASM_WORKERS' ])
315
315
316
316
# Tests an AudioWorklet with multiple stereo inputs copying in the processor to multiple stereo outputs (6kB stack)
317
317
def test_audio_worklet_2x_stereo_io (self ):
318
318
os .mkdir ('audio_files' )
319
319
shutil .copy (test_file ('webaudio/audio_files/emscripten-beat.mp3' ), 'audio_files/' )
320
320
shutil .copy (test_file ('webaudio/audio_files/emscripten-bass.mp3' ), 'audio_files/' )
321
- self .btest ('webaudio/audioworklet_2x_in_out_stereo.c' , expected = '0 ' , args = ['-sAUDIO_WORKLET' , '-sWASM_WORKERS' ])
321
+ self .btest_exit ('webaudio/audioworklet_2x_in_out_stereo.c' , args = ['-sAUDIO_WORKLET' , '-sWASM_WORKERS' ])
322
322
323
323
# Tests an AudioWorklet with multiple mono inputs mixing in the processor to a single mono output (2kB stack)
324
324
def test_audio_worklet_mono_io (self ):
325
325
os .mkdir ('audio_files' )
326
326
shutil .copy (test_file ('webaudio/audio_files/emscripten-beat-mono.mp3' ), 'audio_files/' )
327
327
shutil .copy (test_file ('webaudio/audio_files/emscripten-bass-mono.mp3' ), 'audio_files/' )
328
- self .btest ('webaudio/audioworklet_in_out_mono.c' , expected = '0 ' , args = ['-sAUDIO_WORKLET' , '-sWASM_WORKERS' ])
328
+ self .btest_exit ('webaudio/audioworklet_in_out_mono.c' , args = ['-sAUDIO_WORKLET' , '-sWASM_WORKERS' ])
329
329
330
330
# Tests an AudioWorklet with multiple mono inputs copying in the processor to L+R stereo outputs (3kB stack)
331
331
def test_audio_worklet_2x_hard_pan_io (self ):
332
332
os .mkdir ('audio_files' )
333
333
shutil .copy (test_file ('webaudio/audio_files/emscripten-beat-mono.mp3' ), 'audio_files/' )
334
334
shutil .copy (test_file ('webaudio/audio_files/emscripten-bass-mono.mp3' ), 'audio_files/' )
335
- self .btest ('webaudio/audioworklet_2x_in_hard_pan.c' , expected = '0 ' , args = ['-sAUDIO_WORKLET' , '-sWASM_WORKERS' ])
335
+ self .btest_exit ('webaudio/audioworklet_2x_in_hard_pan.c' , args = ['-sAUDIO_WORKLET' , '-sWASM_WORKERS' ])
336
336
337
337
338
338
class interactive64 (interactive ):
0 commit comments