虚拟音频驱动程序(麦克风)

发布于 2024-10-05 19:18:13 字数 955 浏览 6 评论 0 原文

我想开发一个虚拟麦克风驱动程序。请不要谈论任何有关 DirectShow 的内容 - 这不是“方法”。我需要一个适用于任何软件(包括 Skype 和 MSN)的解决方案。而DirectShow并不符合这些要求。

我在 Windows 7 WDK 中找到了 AVStream Filter-Centric Simulated Capture Driver (avssamp.sys)。我需要的是它的音频部分。默认情况下,它读取 avssamp.wav 并播放它。但该驱动程序被注册为WDM流捕获设备。我想要它在音频捕获设备中。

网上有一些帖子,但它们都是相同的:

http://www.tech-archive.net/Archive/Development/microsoft.public.development.device.drivers/2005-05/msg00124.html

http://www.winvistatips.com/problem-installing-avssamp -audio-capture-sources-category-t184898.html

我认为将此过滤器驱动程序注册为音频捕获设备将使 Skype 将其识别为麦克风,因此我将能够推送任何 PCM 文件,就像它一样来自麦克风。

如果有人之前已经遇到过这个问题,请提供帮助。

提前致谢。

I want to develop a virtual microphone driver. Please, do not say anything about DirectShow - that's not "the way". I need a solution that will work with any software including Skype and MSN. And DirectShow doesn't fit these requirements.

I found AVStream Filter-Centric Simulated Capture Driver (avssamp.sys) in Windows 7 WDK. What I need is an audio part of it. By default it reads avssamp.wav and plays it. But this driver is registered as WDM streaming capture device. And I want it in Audio Capture Device.

There are some posts in the web but they are all the same:

http://www.tech-archive.net/Archive/Development/microsoft.public.development.device.drivers/2005-05/msg00124.html

http://www.winvistatips.com/problem-installing-avssamp-audio-capture-sources-category-t184898.html

I think registering this filter-driver as audio capture device will make Skype recognize it as a microphone and thefore I will be able to push any PCM file as if it goes from mic.

If someone already faced this problem before, please help.

Thanks in advance.

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

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

发布评论

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

评论(1

回忆追雨的时光 2024-10-12 19:18:13

我已经这样做了好几次了,这并不简单……它涉及几个步骤;但目前我面前没有该代码。

如果您正在为 Windows 编写虚拟音频驱动程序,您将需要加入 wdmaudiodev 的列表。只需谷歌搜索并加入列表即可。

然后,要做的第一件事就是搜索列表,您肯定会在那里找到您问题的答案,就像之前问过的那样。您还可以找到有关虚拟音频驱动程序的其他信息。

我希望这有帮助

i have done this several times and it is not trivial...it involves several steps; but I don't have that code in front of me at this time.

if you are writing a virtual audio driver for Windows you will want to join the list at wdmaudiodev. just google that and join the list.

then, the first thing to do is search the list and you will certianly find the answer to your question there as it has been asked before. you will also find other information about virtual audio drivers.

i hope that helps

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