So I found the undocumented API to change sound device formats How to change microphone format programmatically
However, it's still unclear how to enumerate the available endpoint formats that can be called with
RESULT IPolicyConfig::SetDeviceFormat(
PCWSTR,
WAVEFORMATEX * pEndpointFormat,
WAVEFORMATEX * pMixFormat
);
How does the settings app know what list to display in the following ComboBox?
Is there any option other than guessing and checking with IsFormatSupported
