summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/bufferarray.cpp
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2026-02-12 16:08:42 -0800
committerRoxie Linden <roxie@lindenlab.com>2026-02-12 16:08:42 -0800
commit1594fe9466bb2171910369af80d014d6c1c3a817 (patch)
treee6d7b08872303498bef48975075dab096990ce65 /indra/llcorehttp/bufferarray.cpp
parentb4a6af57a667d355e7347f1a3c13173b44b361ff (diff)
In WebRTC.lib, Switch WASAPI playout to timer-driven mode with AUTOCONVERTPCM
Use WAVEFORMATEXTENSIBLE and AUDCLNT_STREAMFLAGS_AUTOCONVERTPCM to support devices whose native format differs from 48kHz stereo PCM, such as Bluetooth HFP endpoints (16kHz mono) and surround sound devices (5.1/7.1). Replace the event-driven render loop (AUDCLNT_STREAMFLAGS_EVENTCALLBACK) with a timer-driven polling loop to avoid a known issue where AUTOCONVERTPCM combined with EVENTCALLBACK causes the audio engine to stop signaling render events, resulting in premature thread termination. Also adds 192kHz to the supported sample rate list, uses the first closest-match format from IsFormatSupported as a fallback when no exact match is found, and applies the same changes to the recording path.
Diffstat (limited to 'indra/llcorehttp/bufferarray.cpp')
0 files changed, 0 insertions, 0 deletions