You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
[HTML5] Refactor audio drivers. Implement AudioWorklet w/o threads.
Performances are not great in general, bad on Firefox, on Chrome, well, it's an improvement compared to the way they broke ScriptProcessorNode. I'm actually surprised this works, it involves so many allocations, but there's no way around it when SharedArrayBuffer is not available :(.
This commit is contained in:
@@ -62,7 +62,7 @@ private:
|
||||
|
||||
MainLoop *main_loop;
|
||||
int video_driver_index;
|
||||
AudioDriverJavaScript *audio_driver_javascript;
|
||||
List<AudioDriverJavaScript *> audio_drivers;
|
||||
VisualServer *visual_server;
|
||||
|
||||
bool swap_ok_cancel;
|
||||
|
||||
Reference in New Issue
Block a user