Skip to content

Commit cbb2031

Browse files
committed
Added the web audio mixer to the browser tests
1 parent 2f2b85d commit cbb2031

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
@@ -5404,6 +5404,14 @@ def test_audio_worklet_post_function(self, args):
54045404
def test_audio_worklet_modularize(self, args):
54055405
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)
54065406

5407+
# We can't test playback, so don't need the data files, we're testing it builds and runs
5408+
@parameterized({
5409+
'': ([],),
5410+
'minimal_with_closure': (['-sMINIMAL_RUNTIME', '--closure', '1', '-Oz'],),
5411+
})
5412+
def test_audio_worklet_stereo_io(self, args):
5413+
self.btest_exit('webaudio/audioworklet_in_out_stereo.c', args=['-sAUDIO_WORKLET', '-sWASM_WORKERS'] + args)
5414+
54075415
def test_error_reporting(self):
54085416
# Test catching/reporting Error objects
54095417
create_file('post.js', 'throw new Error("oops");')

0 commit comments

Comments
 (0)