engine/web_audio_context_impl library

Functions

getWebAudioChannelCount() int
Returns the number of channels the browser mic stream provides. Uses getUserMedia constraints to check.
getWebAudioContextSampleRate() double
Returns the browser's AudioContext sample rate — this is the EXACT sample rate the system audio hardware uses. No guessing.