[英]Can I change the audio device of a specific app via command line?
I use multiple different virtual audio devices on my PC to split my Audio.我在我的电脑上使用多个不同的虚拟音频设备来分割我的音频。 (Virtual Cables)
(虚拟电缆)
I have a problem with one app where every time I launch it, it reverts the audio device of the app back to the default windows audio device.我有一个应用程序有问题,每次我启动它时,它都会将该应用程序的音频设备恢复为默认的 windows 音频设备。 So everytime I launch it I have to go into the App Volume and Device settings to change it to its proper device.
因此,每次我启动它时,我都必须将 go 进入 App Volume and Device 设置,以将其更改为正确的设备。
I'm looking for a command line or script solution for this to automate the process.我正在为此寻找一个命令行或脚本解决方案来自动化该过程。 I'd prefer if the app didn't revert to the default device but I don't think I can fix that...
如果应用程序没有恢复到默认设备,我更愿意,但我认为我无法解决这个问题......
Let me know if you need more info如果您需要更多信息,请告诉我
You could perhaps try SoundVolumeView /SetAppDefault...
您也许可以尝试
SoundVolumeView /SetAppDefault...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.