Setting playback device by executing a batch file / powershell script

后端 未结 6 1327
太阳男子
太阳男子 2021-01-31 04:21

I\'ve got my computer(Windows 7) hooked up to the TV, and i very often change output device for sound between Digital Audio (S/PDIF)(High definition audio device) and my headset

6条回答
  •  遥遥无期
    2021-01-31 05:13

    As far as I understand there is no way to do this programmatically. This is a deliberate design, since Microsoft does not want applications to override audio setting set by user.

    You will find same answer here but if you solutions that manipulate windows you can have a look here.

提交回复
热议问题