Skip to content

Commit 4e9d358

Browse files
committed
Added the web audio mixer to the browser tests
1 parent dbc7cee commit 4e9d358

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
@@ -5433,6 +5433,14 @@ def test_audio_worklet_post_function(self, args):
54335433
def test_audio_worklet_modularize(self, args):
54345434
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)
54355435

5436+
# We can't test playback, so don't need the data files, we're testing it builds and runs
5437+
@parameterized({
5438+
'': ([],),
5439+
'minimal_with_closure': (['-sMINIMAL_RUNTIME', '--closure', '1', '-Oz'],),
5440+
})
5441+
def test_audio_worklet_stereo_io(self, args):
5442+
self.btest_exit('webaudio/audioworklet_in_out_stereo.c', args=['-sAUDIO_WORKLET', '-sWASM_WORKERS'] + args)
5443+
54365444
def test_error_reporting(self):
54375445
# Test catching/reporting Error objects
54385446
create_file('post.js', 'throw new Error("oops");')

0 commit comments

Comments
 (0)