简体   繁体   English

以编程方式设置在Windows中“收听”的音频设备

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

相关问题 如何以编程方式更改Windows音频设备的友好名称? - How to programmatically change the friendly name of a Windows audio device? 如何在默认音频设备上设置权限,以便可以以编程方式更改它? - How to set permissions on the default audio device so that it can be changed programmatically? 无法使用Windows Media编码器设置默认音频设备 - fails to set default audio device using Windows Media Encoder 以编程方式将蓝牙设备配对为音频设备 - Programmatically pair bluetooth device as audio device 如何以编程方式查找Windows桌面应用程序是否正在Windows手持设备上使用 - How to programmatically find if a Windows desktop app is being used on a Windows handheld device 如何以编程方式设置应用程序的默认输入和输出音频设备? - How can I programmatically set the default input and output audio device for an application? 在Windows中以编程方式重新启动USB设备 - Programmatically restart USB device in Windows 在 Windows 设备管理器中以编程方式卸载设备 - Programmatically uninstall a device in windows device manager Windows XP-使用Python以编程方式静音/取消静音 - Windows XP - mute/unmute audio in programmatically in Python 如何知道Windows中Sox的有源音频设备 - How to know active audio device for sox in windows
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM