You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Windows, the audio captured (through build_input_stream) seems to be passed through a default audio filter. I thought I had a bug in my code, because the sound recorded by cpal kept cutting out. This was particularly strange because sound from the same microphone in other apps that also didn't use exclusive mode (e.g. Discord) was fine. This issue did not happen on Linux. I found out that this issue was that Windows does audio processing by default. I did some further digging, and it seems that cpal does not use the IAudioClient2::SetClientProperties, which allows the AUDCLNT_STREAMOPTIONS_RAW flag to be set.
Activity
roderickvd commentedon Apr 20, 2026
Yes, that looks like a knob we should allow to turn. There could be reasons why a user would want it to be routed through the filter chain too, right?
infiniwave commentedon Apr 20, 2026
Yes, of course.