You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I cannot use Audio Worklets backend for my HTML applications, because it requires compiling with -s ASYNCIFY with Emscripten, and this option degrades the rendering performance of my game on HTML a lot. Would be nice if Miniaudio had an option that allows me to use Audio Worklets without -s ASYNCIFY, the only reason for this option seems to be the use of emscripten_sleep call.
At the moment I'm forced to use ScriptProcessorNode, but it's deprecated giving me warnings and the audio performance is worse. So I am forced to choose bad audio performance (ScriptProcessorNode) or bad rendering performance (-s ASYNCIFY).
What are other ways to workaround this? Would using SDL as audio backend with Emscripten be a workaround to have Audio Worklets under the hood?
The text was updated successfully, but these errors were encountered:
Currently I cannot use Audio Worklets backend for my HTML applications, because it requires compiling with
-s ASYNCIFY
with Emscripten, and this option degrades the rendering performance of my game on HTML a lot. Would be nice if Miniaudio had an option that allows me to use Audio Worklets without-s ASYNCIFY
, the only reason for this option seems to be the use ofemscripten_sleep
call.At the moment I'm forced to use ScriptProcessorNode, but it's deprecated giving me warnings and the audio performance is worse. So I am forced to choose bad audio performance (ScriptProcessorNode) or bad rendering performance (
-s ASYNCIFY
).What are other ways to workaround this? Would using SDL as audio backend with Emscripten be a workaround to have Audio Worklets under the hood?
The text was updated successfully, but these errors were encountered: