https://learn.microsoft.com/en-us/windows/win32/api/devicetopology/nn-devicetopology-iaudiooutputselector
IAudioOutputSelector (devicetopology.h) - Win32 apps | Microsoft Learn
The IAudioOutputSelector interface provides access to a hardware demultiplexer control (output selector).
happsmicrosoftlearn
https://learn.microsoft.com/en-us/windows/win32/api/devicetopology/nf-devicetopology-iaudiooutputselector-setselection
IAudioOutputSelector::SetSelection (devicetopology.h) - Win32 apps | Microsoft Learn
The SetSelection method selects one of the outputs of the output selector.
happsmicrosoftlearn