the official emscripten docs and examples for audio worklets are kind of awful
0 Boosts
0 Likes
did you guys consider maybe putting *why* it failed in the error message
@aeva (Jeff Goldblum as Ian Malcolm) "Ah, hello? Hello? Were you planning on having, um, a *message* in your error message?"
@aeva Whenever I experimented with emscripten I've always found it all very fragile and most example code online to just not work at all.
It's frustrating, since there is so much potential, but I can't build anything with it that isn't at best an interesting experiment.
I'm attempting to create a worklet via emscripten_start_wasm_audio_worklet_thread_async. The callback has a "success" bool, which is getting set to false. After puzzling for a few hours as to why (there's no error message in the console), I notice one of the examples has a comment suggesting using a debug build to see errors (wtf)
Now I get this:
w:0,t:0x001867a0: _emscripten_create_audio_worklet() addModule() failed!
Well, ok then. Fuck if I know what that means.