-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
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
Fix for AUDIO_WORKLET + MODULARIZE #20249
Fix for AUDIO_WORKLET + MODULARIZE #20249
Conversation
I guess we should add a test case for AUDIO_WORKLET + MODULARIZE? Perhaps modify one of the existing tests using |
(I hope you don't mind, I re-titled the PR to describe what it does) |
|
@sbc100 I has a compile issue now:
test/runner browser.test_audio_worklet_modularize
emcc: error: Due to collision in variable name "Module", the shell file "/Users/miskolee/develop/src/github.com/emscripten/src/shell.html" is not compatible with build options "-sMODULARIZE -sEXPORT_NAME=Module". Either provide your own shell file, change the name of the export to something else to avoid the name collision. (see https://github.com/emscripten-core/emscripten/issues/7950 for details) I also tried '-sAUDIO_WORKLET', '-sWASM_WORKERS','-sMODULARIZE=1','-sEXPORT_NAME=MyModule'
emcc: error: Customizing EXPORT_NAME requires that the HTML be customized to use that name (see https://github.com/emscripten-core/emscripten/issues/10086)
'-sAUDIO_WORKLET', '-sWASM_WORKERS','-sEXPORT_ES6=1' ![]() |
AudioWorkletGlobalScope have not wasmTable field. so *.aw.js file also failed. Uncaught TypeError: Cannot read properties of undefined (reading 'get') Looks like the wasmTable can not pass to worker, but the aw.js depends this. |
94a4e38
to
c65a321
Compare
Hi,Team: I already add the test case and can be test pass with test/runner browser.test_audio_worklet_modularize please take a look this. |
e28351b
to
481bd3c
Compare
@juj please check this. |
bcbc8cf
to
85f0865
Compare
ed48ad3
to
560bdad
Compare
560bdad
to
1f9ca55
Compare
Hmm.. it looks like there is some kind circleci issue going on here where it trying to use you plan to run these CI jobs.. @kripken do you know about this issue? |
Something must have changed or be broken with circleci because it didn't do this for the previous run in this PR |
what's next step? |
We just need the CI tests to pass. In this case it looks like we are being effected by a circleci configuration issue: #20430 |
Looks like the CircleCI issue is resolved here, landing. |
move the js code to fix syntax error.
Fixes: #19796