Думаю, нужно копать сюда HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\MMDevices\Audio\Render\ Но пока не могу найти, какой именно параметр отвечает за тип вывода
/SetSpeakersConfig [Device Name] [Channel Mask] [Optional Speakers] [Full Range Speakers]
Sets the desired speakers configuration (Stereo, Quadraphonic, 5.1 Surround, 7.1 Surround, and so on). The [Channel Mask], [Optional Speakers] and [Full Range Speakers] parameters are integer values that represent the speakers configuration. You can use Hexadecimal numbers in these parameters by specifying '0x' prefix.
Думаю, нужно копать сюда
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\MMDevices\Audio\Render\
Но пока не могу найти, какой именно параметр отвечает за тип вывода
Ещё вот что нашел - https://www.nirsoft.net/utils/sound_volume_command_line.html
/SetSpeakersConfig [Device Name] [Channel Mask] [Optional Speakers] [Full Range Speakers]
Sets the desired speakers configuration (Stereo, Quadraphonic, 5.1 Surround, 7.1 Surround, and so on). The [Channel Mask], [Optional Speakers] and [Full Range Speakers] parameters are integer values that represent the speakers configuration. You can use Hexadecimal numbers in these parameters by specifying '0x' prefix.