-
What's up y'all, I've been having a problem trying to set up an audio process block going by the Audio Worklets Documentation. I am working with the latest Qt and using the emscripten compiler with asyncify and the correct flags set in Cmake, but because of Qt I am limited to version emscripten 3.1.50, which is why I wanted to come here and ask rather than opening an issue. To make sure it wasn't just the version mismatch, I built the .rst documentation for version 3.1.50 from source and went off of that. Currently what I have (stripped down) is
What happens is, after initialize audio context is called, the browser calls AudioThreadInitialized, but then after that I get an error I'm not really a JS web developer so my understanding of setTimout and clearTimeout are limited to just idk they're used as a timer in functions. I'm not sure what would be causing an error specifically at Thanks for any help. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
You can try building with |
Beta Was this translation helpful? Give feedback.
-
I don't have much of a stack trace even with those flags just the two places PXConsole.js and PXConsole.aw.js in PXConsole.js where I get the undefined error it's at
and before hitting that, the previous stack trace is in PXConsole.aw.js at the instantiation of the audio worklet
|
Beta Was this translation helpful? Give feedback.
-
That's what's been confusing me I haven't inlined any timeouts in js or asm, and this isn't used in the javascript the only thing that happens to emscripten_clear_timeout is it gets exported to wasm further down |
Beta Was this translation helpful? Give feedback.
-
Of course ! That fixed it, thanks for the help. |
Beta Was this translation helpful? Give feedback.
Can you try with this patch: #23287