var name
This commit is contained in:
parent
b1090a1dd8
commit
9e233fe587
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue