mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-11 05:38:34 +00:00
var name
This commit is contained in:
parent
b1090a1dd8
commit
9e233fe587
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user