Skip to content

Commit b1b5c6d

Browse files
committed
Added the web audio mixer to the browser tests
1 parent 8f561fa commit b1b5c6d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/test_browser.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5417,6 +5417,14 @@ def test_audio_worklet_post_function(self, args):
54175417
def test_audio_worklet_modularize(self, args):
54185418
self.btest_exit('webaudio/audioworklet.c', args=['-sAUDIO_WORKLET', '-sWASM_WORKERS', '-sMODULARIZE=1', '-sEXPORT_NAME=MyModule', '--shell-file', test_file('shell_that_launches_modularize.html')] + args)
54195419

5420+
# We can't test playback, so don't need the data files, we're testing it builds and runs
5421+
@parameterized({
5422+
'': ([],),
5423+
'minimal_with_closure': (['-sMINIMAL_RUNTIME', '--closure', '1', '-Oz'],),
5424+
})
5425+
def test_audio_worklet_stereo_io(self, args):
5426+
self.btest_exit('webaudio/audioworklet_in_out_stereo.c', args=['-sAUDIO_WORKLET', '-sWASM_WORKERS'] + args)
5427+
54205428
def test_error_reporting(self):
54215429
# Test catching/reporting Error objects
54225430
create_file('post.js', 'throw new Error("oops");')

0 commit comments

Comments
 (0)