Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(audio:windows): set cbSize correctly
We should set WAVEFORMATEXTENSIBLE::Format::cbSize to `sizeof(WAVEFORMATEXTENSIBLE) - sizeof(WAVEFORMATEX)` instead of `sizeof(WAVEFORMATEXTENSIBLE)`. Incorrect cbSize can lead to audio capture failures on newer versions of Windows.
- Loading branch information