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
warnOnce('Cannot find preloaded image '+filename+'. Consider using STB_IMAGE=1 if you want synchronous image decoding (see settings.js), or package files with --use-preload-plugins');
warnOnce(`Cannot find preloaded image ${filename}. Consider using STB_IMAGE=1 if you want synchronous image decoding (see settings.js), or package files with --use-preload-plugins`);
Copy file name to clipboardExpand all lines: src/lib/libstrings.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ addToLibrary({
76
76
u0=((u0&15)<<12)|(u1<<6)|u2;
77
77
}else{
78
78
#if ASSERTIONS
79
-
if((u0&0xF8)!=0xF0)warnOnce('Invalid UTF-8 leading byte '+ptrToString(u0)+' encountered when deserializing a UTF-8 string in wasm memory to a JS string!');
79
+
if((u0&0xF8)!=0xF0)warnOnce(`Invalid UTF-8 leading byte ${ptrToString(u0)}encountered when deserializing a UTF-8 string in wasm memory to a JS string!`);
if(u>0x10FFFF)warnOnce('Invalid Unicode code point '+ptrToString(u)+' encountered when serializing a JS string to a UTF-8 string in wasm memory! (Valid unicode code points should be in range 0-0x10FFFF).');
189
+
if(u>0x10FFFF)warnOnce(`Invalid Unicode code point ${ptrToString(u)}encountered when serializing a JS string to a UTF-8 string in wasm memory! (Valid unicode code points should be in range 0-0x10FFFF).`);
Copy file name to clipboardExpand all lines: src/lib/libwebaudio.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -185,7 +185,7 @@ var LibraryWebAudio = {
185
185
assert(stackLowestAddress%16==0,`AudioWorklet stack should be aligned to 16 bytes! (was ${stackLowestAddress} == ${stackLowestAddress%16} mod 16) Use e.g. memalign(16, stackSize) to align the stack!`);
186
186
assert(stackSize!=0,'AudioWorklets require a dedicated stack space for audio data marshalling between Wasm and JS!');
187
187
assert(stackSize%16==0,`AudioWorklet stack size should be a multiple of 16 bytes! (was ${stackSize} == ${stackSize%16} mod 16)`);
188
-
assert(!audioContext.audioWorkletInitialized,'emscripten_create_wasm_audio_worklet() was already called for AudioContext '+contextHandle+'! Only call this function once per AudioContext!');
188
+
assert(!audioContext.audioWorkletInitialized,`emscripten_create_wasm_audio_worklet() was already called for AudioContext ${contextHandle}! Only call this function once per AudioContext!`);
0 commit comments