cpal
cpal copied to clipboard
WASAPI `SupportedStreamConfig`s `buffer_size` is a maxed out range instead of `Unknown`
When obtaining a SupportedStreamConfig or SupportedStreamConfigRange the buffer_size field has a value of SupportedBufferSize::Range with min being 0 and max being 4,294,967,295 (u32::MAX). No matter what is passed to the stream, though, it picks the default anyway.
This seems very counter intuitive, as I would expect this to fall under SupportedBufferSize::Unknown.
I'm running WASAPI on Windows 11.