File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -334,6 +334,13 @@ def test_audio_worklet_2x_hard_pan_io(self):
334
334
shutil .copy (test_file ('webaudio/audio_files/emscripten-bass-mono.mp3' ), 'audio_files/' )
335
335
self .btest_exit ('webaudio/audioworklet_2x_in_hard_pan.c' , args = ['-sAUDIO_WORKLET' , '-sWASM_WORKERS' ])
336
336
337
+ # Tests an AudioWorklet with multiple stereo inputs mixing in the processor via a parameter to a single stereo output
338
+ def test_audio_worklet_params_mixing (self ):
339
+ os .mkdir ('audio_files' )
340
+ shutil .copy (test_file ('webaudio/audio_files/emscripten-beat.mp3' ), 'audio_files/' )
341
+ shutil .copy (test_file ('webaudio/audio_files/emscripten-bass.mp3' ), 'audio_files/' )
342
+ self .btest_exit ('webaudio/audioworklet_params_mixing.c' , args = ['-sAUDIO_WORKLET' , '-sWASM_WORKERS' ])
343
+
337
344
# Same as 'test_audio_worklet_2x_stereo_io' but with the worklet stack starting at 2GB in (tests for unsigned shifts in the memory offsets)
338
345
def test_audio_worklet_stereo_io_2gb (self ):
339
346
os .mkdir ('audio_files' )
You can’t perform that action at this time.
0 commit comments