Skip to content

Commit e2b64dc

Browse files
committed
ASSERTIONS found the stack overflow!
1 parent 1eba671 commit e2b64dc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/test_interactive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ def test_audio_worklet_2x_hard_pan_io(self):
334334
shutil.copy(test_file('webaudio/audio_files/emscripten-bass-mono.mp3'), 'audio_files/')
335335
self.btest_exit('webaudio/audioworklet_2x_in_hard_pan.c', args=['-sAUDIO_WORKLET', '-sWASM_WORKERS'])
336336

337-
# Tests an AudioWorklet with multiple stereo inputs mixing in the processor via a parameter to a single stereo output
337+
# Tests an AudioWorklet with multiple stereo inputs mixing in the processor via a parameter to a single stereo output (6kB stack)
338338
def test_audio_worklet_params_mixing(self):
339339
os.mkdir('audio_files')
340340
shutil.copy(test_file('webaudio/audio_files/emscripten-beat.mp3'), 'audio_files/')

test/webaudio/audioworklet_params_mixing.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
// This needs to be big enough for the stereo output, 2x inputs, 2x params and
1212
// the worker stack. To note that different browsers have different stack size
13-
// requirement (see notes in process()).
14-
#define AUDIO_STACK_SIZE 5120
13+
// requirement (see notes in process() plus the expansion of the params).
14+
#define AUDIO_STACK_SIZE 6144
1515

1616
// Shared file playback and bootstrap
1717
#include "audioworklet_test_shared.inc"

0 commit comments

Comments
 (0)