mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-13 06:19:33 -04:00
var name
This commit is contained in:
@@ -175,8 +175,8 @@ export function getAudioContextCurrentTime() {
|
||||
let workletsLoading;
|
||||
function loadWorklets() {
|
||||
if (!workletsLoading) {
|
||||
const contextPromise = getAudioContext();
|
||||
workletsLoading = contextPromise.audioWorklet.addModule(workletsUrl);
|
||||
const audioCtx = getAudioContext();
|
||||
workletsLoading = audioCtx.audioWorklet.addModule(workletsUrl);
|
||||
}
|
||||
|
||||
return workletsLoading;
|
||||
|
||||
Reference in New Issue
Block a user