This commit is contained in:
Felix Roos
2024-01-10 18:14:49 +01:00
parent 93cfe9802c
commit 7c4ed7e05f
-2
View File
@@ -8,9 +8,7 @@ class SawProcessor extends AudioWorkletProcessor {
switch (key) {
case 'webassembly':
WebAssembly.instantiate(value, this.importObject).then((result) => {
const exports = result.instance.exports;
this.api = result.instance.exports;
this.saw = exports.saw;
this.port.postMessage('OK');
});
break;