[英]Programmatically set the audio device being “listened” to in Windows
In Windows 7 you can go in to audio devices and check "Listen to this device", so the audio signal is played through speakers. 在Windows 7中,您可以进入音频设备并选中“收听此设备”,以便通过扬声器播放音频信号。 Is there a way to set this, perhaps some variable in the Win32 API, so it can be changed without going in to the settings dialog? 有没有办法设置这个,也许是Win32 API中的一些变量,所以可以在不进入设置对话框的情况下进行更改?
Not all audio devices on Windows support this option in the control panel. 并非Windows上的所有音频设备都支持控制面板中的此选项。 But there's some docs on loopback recording on MSDN. 但是在MSDN上有一些关于环回录制的文档。
http://msdn.microsoft.com/en-us/library/dd316551%28VS.85%29.aspx http://msdn.microsoft.com/en-us/library/dd316551%28VS.85%29.aspx
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.