diff --git a/test/test_interactive.py b/test/test_interactive.py index 354968ec9aee8..4a1f894611cc9 100644 --- a/test/test_interactive.py +++ b/test/test_interactive.py @@ -336,6 +336,13 @@ def test_audio_worklet_params_mixing(self): shutil.copy(test_file('webaudio/audio_files/emscripten-bass.mp3'), 'audio_files/') self.btest_exit('webaudio/audioworklet_params_mixing.c', cflags=['-sAUDIO_WORKLET', '-sWASM_WORKERS']) + # Mixing test above with hard-pans to verify left and right ordering + def test_audio_worklet_hard_pans(self): + os.mkdir('audio_files') + shutil.copy(test_file('webaudio/audio_files/emscripten-beat-right.mp3'), 'audio_files/emscripten-beat.mp3') + shutil.copy(test_file('webaudio/audio_files/emscripten-bass-left.mp3'), 'audio_files/emscripten-bass.mp3') + self.btest_exit('webaudio/audioworklet_params_mixing.c', cflags=['-sAUDIO_WORKLET', '-sWASM_WORKERS']) + # Tests an AudioWorklet with a growable heap def test_audio_worklet_memory_growth(self): os.mkdir('audio_files') diff --git a/test/webaudio/audio_files/emscripten-bass-left.mp3 b/test/webaudio/audio_files/emscripten-bass-left.mp3 new file mode 100644 index 0000000000000..7208e0872a8a3 Binary files /dev/null and b/test/webaudio/audio_files/emscripten-bass-left.mp3 differ diff --git a/test/webaudio/audio_files/emscripten-beat-right.mp3 b/test/webaudio/audio_files/emscripten-beat-right.mp3 new file mode 100644 index 0000000000000..11fa816617577 Binary files /dev/null and b/test/webaudio/audio_files/emscripten-beat-right.mp3 differ