拦截和后处理在Windows上的所有音频流 [英] Intercepting and postprocessing all audio streams on Windows

查看:719
本文介绍了拦截和后处理在Windows上的所有音频流的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道有没有什么办法,我创建它可以拦截所有正在播放电脑上的音频应用程序,这样我就可以处理音频(适用于一些效果),然后再传递到Windows音频子系统?

I would like to know is there any way I create an application which can intercept all the audio that is being played back on the computer, so I can process the audio (apply some effect) and then pass it further to the Windows audio subsystem?

我只是在Vista / 7的WASAPI惊鸿一瞥,有这样的撒泼:
http://www.microsoft.com/whdc/device/audio/sysfx.mspx
但似乎我无法创建我撒泼,并在任何地方安装我喜欢 - 我需要一个WHQL驱动此

I just had a glimpse in Vista/7 WASAPI, there is this sAPO: http://www.microsoft.com/whdc/device/audio/sysfx.mspx but it seems that I cannot create my sAPO and install it anywhere I like - I need a WHQL drivers for this.

有没有普遍的方式做到这一点?
我有一个DirectSound的经验,但我还没有看到有关截取音频流的任何有用的信息。

Is there any universal way to do that? I have an experience with DirectSound but I haven't seen any useful info about intercepting the audio streams.

推荐答案

如果你正在加载自定义撒泼,你就全球影响声音的系统。这将需要签名。 从这篇文章

If you're loading a custom sAPO, you're globally affecting the sound for a system. This is going to require signing. From this article:

音频引擎不会加载
  无符号的SAPOS到音频
  处理图形。所以,当你
  测试你撒泼,你必须禁用
  为Audiodg.exe受保护的进程。
  要禁用保护的过程中,设置
  的价值
  DisableProtectedAudioDG注册表项
  '1'。

The audio engine does not load unsigned sAPOs into the audio processing graph. So while you are testing your sAPO, you must disable the protected process for Audiodg.exe. To disable the protected process, set the value of the DisableProtectedAudioDG registry key to '1'.

这篇关于拦截和后处理在Windows上的所有音频流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆