We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is in the latest Emscripten:
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.73-git (299be0bbfbbadfa926cb69380f0fffa3703b26c7)
Building any of the Audio Worklet tests with -sSTRICT compiles but fails to run:
-sSTRICT
emcc -sAUDIO_WORKLET -sWASM_WORKERS -sSTRICT audio_worklet_tone_generator.c
The browser errors being variations of missing API calls, e.g.:
Aborted(`Module.wasmMemory` was supplied but `wasmMemory` not included in INCOMING_MODULE_JS_API)
The suggestion here being to add it:
#22753 (comment)
(This can be assigned to me and I'll look at it)
The text was updated successfully, but these errors were encountered:
I think the fix here is to explicitly add the needed exports to INCOMING_MODULE_JS_API. Something like this:
INCOMING_MODULE_JS_API
emscripten/tools/link.py
Lines 1214 to 1216 in e1ce10d
e.g:
if settings.AUDIO_WORKLET: # The following incomming API elements are using when starting a audio worklet. settings.INCOMING_MODULE_JS_API += [ .. .]
Sorry, something went wrong.
Thanks, I can take a look next week (and verify which should be added or not, in comparison with an Hello, World).
No branches or pull requests
This is in the latest Emscripten:
Building any of the Audio Worklet tests with
-sSTRICT
compiles but fails to run:The browser errors being variations of missing API calls, e.g.:
The suggestion here being to add it:
#22753 (comment)
(This can be assigned to me and I'll look at it)
The text was updated successfully, but these errors were encountered: