Skip to content

Commit 4136966

Browse files
committed
Added missing dependencies
1 parent 46d727c commit 4136966

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/library_webaudio.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,12 @@ let LibraryWebAudio = {
122122
},
123123

124124
#if AUDIO_WORKLET
125+
// emscripten_start_wasm_audio_worklet_thread_async() doesn't use stackAlloc,
126+
// etc., but the created worklet does.
125127
emscripten_start_wasm_audio_worklet_thread_async__deps: [
126128
'$_wasmWorkersID',
127-
'$_EmAudioDispatchProcessorCallback'],
129+
'$_EmAudioDispatchProcessorCallback',
130+
'$stackAlloc', '$stackRestore', '$stackSave'],
128131
emscripten_start_wasm_audio_worklet_thread_async: (contextHandle, stackLowestAddress, stackSize, callback, userData) => {
129132

130133
#if ASSERTIONS

0 commit comments

Comments
 (0)