Replies: 1 comment 1 reply
-
A lot of audio worklet tests in emscripten/test/test_browser.py Line 5735 in 9d830e2 So at the least the basic features see me to be tests with closure. Perhaps take a look at the tests and see if BTW, closure doesn't effect the native code, only the JS code, it its unlikely to be your C++ code that is at fault. How are your users consuming your library? E.g. As source code or as pre-built ar archive/library? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thought I'd just ask this as a discussion item rather than a bug report because I'm not sure it actually is a bug or I'm just doing something wrong. I had a report from a user of my audio library about audio not working when compiling with
--closure=1
. Upon addressing this, I've noticed thatemscripten_create_wasm_audio_worklet_processor_async
never actually fires the specified callback. It works perfectly fine when not using--closure=1
. This is the code I'm using:So my question is - is the new Audio Worklets functionality known to be working with
--closure=1
, and if so, is there anything blatantly wrong with my code above (I realise there's not much to go on, but can post more details here if necessary).Beta Was this translation helpful? Give feedback.
All reactions