Skip to content

Conversation

@juj
Copy link
Collaborator

@juj juj commented Apr 3, 2025

Add support for locateFile() to Audio Worklets and add a test. Fixes #20318.

locateFile: function(path, prefix) {
return path.includes('.aw.js') ? 'subdir/' + path : path;
},
'''))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this requires a custom shell.html.

I think you can just put the Module = { ... } stuff in a --pre-js file there.

@sumandas27
Copy link

hey guys, i'd love to see this supported! i keep all emscripten-compiled files outside the root directory. locateFile has worked great for me for all other files except the .aw.js file generated for the audio worklet. are there any workarounds possible in the meanwhile?

@sbc100
Copy link
Collaborator

sbc100 commented Jun 9, 2025

Looks like this just needs a rebase. @juj can you take a look?

@juj
Copy link
Collaborator Author

juj commented Aug 14, 2025

This is obsoleted by PR #24190

@juj juj closed this Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants