You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[AUDIO_WORKLET] Inline .aw.js file into the main output .js file (#24190)
This is similar to what we already did for pthreads (#24163) and normal
wasm workers (#24163). By integrating this file we can also share
more startup code with normal wasm workers.
assert(UTF8ToString(sigPtr)[0]!='v','Do NOT specify the return argument in the signature string for a call to emscripten_audio_worklet_post_function_sig(), just pass the function arguments.');
Copy file name to clipboardExpand all lines: src/postamble_minimal.js
+2-5Lines changed: 2 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -118,7 +118,7 @@ var imports = {
118
118
#if ASSERTIONS&&!WASM2JS
119
119
// Module['wasm'] should contain a typed array of the Wasm object data, or a
120
120
// precompiled WebAssembly Module.
121
-
if(!WebAssembly.instantiateStreaming&&!Module['wasm'])throw'Must load WebAssembly Module in to variable Module.wasm before adding compiled output .js script to the DOM';
121
+
assert(WebAssembly.instantiateStreaming||Module['wasm'],'Must load WebAssembly Module in to variable Module.wasm before adding compiled output .js script to the DOM');
0 commit comments