简体   繁体   English

我可以通过命令行更改特定应用程序的音频设备吗?

[英]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.

相关问题 如何通过 Node JS(或命令行)更改系统音频输出/输入设备 - How can I change my system audio output / input device through Node JS (or command line) 我可以通过命令行在 Windows 中创建雪花 ODBC DSN 吗? - Can I create a Snowflake ODBC DSN in Windows via the command line? 通过命令行更改ftp文件夹权限 - Change ftp folder permission via command line 如何通过命令行更改组策略? - How to change group policy via command line? 如何更改 Windows 中文件的所有者(命令行) - How can I change the owner of a file in Windows (command line) 如何在Windows 7中更改音频输出设备的默认共享模式采样率? - How can I change audio output device default share mode sample rate in Windows 7? 如何通过命令行或批处理将文本粘贴到特定进程ID的控制台窗口中? - How do I paste text to a console window of an specific process ID via command line or with batch? 创建一个命令行argument.bat文件,可以更改特定目录中的all.exe文件兼容性设置 - create a command line argument .bat file that can change all .exe file compatibility settings in a specific directroy 如何通过PowerShell命令行将本地用户转变为管理员? - How can I turn a local user into an administrator via the PowerShell command line? 有没有办法将应用程序音频更改为不同的音频设备? - Is there a way to change application audio to a different audio device?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM