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
assert(EmAudio[contextHandle]instanceof(window.AudioContext||window.webkitAudioContext),`Called emscripten_create_wasm_audio_worklet_processor_async() on a context handle ${contextHandle} that is not an AudioContext, but of type ${typeofEmAudio[contextHandle]}`);
console.log(`emscripten_create_wasm_audio_worklet_processor_async() creating a new AudioWorklet processor with name ${UTF8ToString(HEAPU32[options])}`);
243
+
console.log(`emscripten_create_wasm_audio_worklet_processor_async() creating a new AudioWorklet processor with name ${processorName}`);
// Deliberately mangled and short names used here ('_wpn', the 'Worklet
247
248
// Processor Name' used as a 'key' to verify the message type so as to
248
249
// not get accidentally mixed with user submitted messages, the remainder
249
250
// for space saving reasons, abbreviated from their variable names).
250
-
'_wpn': UTF8ToString(HEAPU32[options]),
251
+
'_wpn': processorName,
251
252
audioParams,
252
253
contextHandle,
253
254
callback,
@@ -262,18 +263,20 @@ let LibraryWebAudio = {
262
263
assert(EmAudio[contextHandle],`Called emscripten_create_wasm_audio_worklet_node() with a nonexisting/already freed Web Audio Context handle ${contextHandle}!`);
263
264
assert(EmAudio[contextHandle]instanceof(window.AudioContext||window.webkitAudioContext),`Called emscripten_create_wasm_audio_worklet_node() on a context handle ${contextHandle} that is not an AudioContext, but of type ${typeofEmAudio[contextHandle]}`);
0 commit comments