mirror of
https://github.com/exoticorn/microw8.git
synced 2026-01-20 11:16:42 +01:00
wait for audio ready before starting cart, add button to unsuspend audio
fixes missing sound when auto-starting cart in chrome
This commit is contained in:
@@ -39,6 +39,8 @@ class APU extends AudioWorkletProcessor {
|
||||
let instance = await instantiate(data);
|
||||
|
||||
this.snd = instance.exports.snd;
|
||||
|
||||
this.port.postMessage(2);
|
||||
}
|
||||
|
||||
process(inputs, outputs, parameters) {
|
||||
|
||||
Reference in New Issue
Block a user