mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-24 05:57:17 -04:00
cleanup
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user