I'm following this nice tutorial to get an AudioWorklet going in C++:

https://emscripten.org/docs/api_reference/wasm_audio_worklets.html

But how do I figure out what the audio sample rate is? If I want to 
generate a tone in the audio callback, it will need to know the audio 
sample rate.

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/emscripten-discuss/981b4bd4-64c4-4747-8c09-6a63e9c69e3an%40googlegroups.com.

Reply via email to