如何找到主扬声器directshow音频设备

发布于 2024-12-20 17:36:38 字数 99 浏览 6 评论 0原文

我正在使用 VLC 和 DirectShow 捕获桌面,我需要找到主扬声器音频设备才能捕获桌面上的所有声音,这可以通过编程方式完成吗? 我在 Windows XP 和 7 中使用 C#

I am capturing the desktop using VLC and DirectShow an I need to find the main speakers audio device in order to capture all the sound from the desktop, can this be done programmaticly ?
I am using C# in windows XP and 7

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

素食主义者 2024-12-27 17:36:38

您实际上无法从扬声器捕获数据。真正的选项是:

  • 来自真实音频输入设备的音频捕获,例如
  • 来自环回设备的麦克风音频捕获(前提是已启用)

请注意,环回捕获在 Vista+ 和旧系统中是不同的,之前也在这里讨论过:

You actually cannot capture data from speakers. The real options are:

  • audio capture from real audio input device, such as microphone
  • audio capture from loop back device (provided that it is enabled)

Note that loopback capture is different in Vista+ and older systems, also previously discussed here:

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文