Matt Harding

Results 33 comments of Matt Harding

> I think we should only keep the game running in the background when netplay is active as a special case. By default we should continue to respect requestAnimationFrame's preference...

If you really think this should be Netplay-only, then I can change it. But the way I see it, YouTube plays in the background, Spotify plays in the background, [Unity...

I came up with this more up to date version of the types from what I could glean from [here](https://www.w3.org/TR/webaudio/#dom-audioworkletglobalscope-registerprocessor), [here](https://www.npmjs.com/package/@types/audioworklet?activeTab=code) and [here](https://developer.mozilla.org/en-US/docs/Web/API/AudioWorkletProcessor). ```typescript interface AudioWorkletProcessor { readonly port: MessagePort;...