WASAPI: Choosing a wave format for exclusive output
问题 I'm trying to open an exclusive stream with an output device using WASAPI. I'm having trouble choosing an acceptable format, since there appear to be no hints as to what formats are accepted by a given device. In my case, IAudioClient::GetMixFormat() , which would otherwise return a sort of default format for the device, returns a format that can't be used in exclusive mode ( IAudioClient::IsFormatSupported() returns AUDCLNT_E_UNSUPPORTED_FORMAT ). I don't know where to go from there. There's