Skip to content
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

Audio worklet support #92

Open
rfwatson opened this issue Nov 11, 2020 · 1 comment
Open

Audio worklet support #92

rfwatson opened this issue Nov 11, 2020 · 1 comment

Comments

@rfwatson
Copy link

Add support for bundling audio worklets.

Audio worklets are somewhat similar to web workers but have some different restrictions/challenges. This list isn't necessarily exhaustive, just what I remember from hacking with this previously:

  1. Worklets are loaded using audioWorklet property instead of new Worker()
  2. importScripts is not available in audio worklet scope
  3. TextEncoder/TextDecoder not available in audio worklet scope, these are used by wasm-bindgen glue code so would probably have to be polyfilled

Related wasm-pack issue: rustwasm/wasm-pack#689

I'd be potentially interested in helping with this, but opening this issue for tracking purposes.

Copy link

github-actions bot commented Dec 7, 2023

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Dec 7, 2023
@ctron ctron removed the Stale label Dec 7, 2023
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

No branches or pull requests

2 participants