I need to programmatically get a wave format (WAVEFORMATEX structure) of the initialized WASAPI rendering audio device. IAudioClient::GetMixFormat doesn't fit in this case, because IAudioClient::Initialize can be called with another format (not equal to the mix format).
When the device is activated and initialized, what other methods of IAudioClient or IAudioRenderClient (or others?) can I call to programmatically get the actual wave format of it?
-
I know this is an old question, but did you ever find a way to retrieve the currently used wave format by the active IAudioClient? Im facing the same problem...suljic– suljic2025-03-18 12:58:36 +00:00Commented Mar 18 at 12:58
Add a comment
|