Fix bluetooth audio dropout issue#5421
Merged
roxanneskelly merged 1 commit intorelease/2026.01from Feb 13, 2026
Merged
Conversation
…ONVERTPCM 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.
akleshchev
approved these changes
Feb 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Use the latest update of the webrtc.lib which fixes an issue with some bluetooth devices dropping audio.
Related Issues
Fixes #5424
Found during #5118 evaluation
Testing Guidance:
Additional tests: