加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

用于支持Windows Vista / 7中的回声消除的API

发布时间:2020-12-14 02:19:08 所属栏目:Windows 来源:网络整理
导读:2007年,在 Windows Vista中包含DRM热潮期间,创建了一个 Windows Vista Team blog以响应许多问题.其中一个问题回应了VoIP软件在Windows Vista上运行时执行回声消除的能力. 这就是Nick White通过常见问题解答所说的话: Will echo cancellation work less well
2007年,在 Windows Vista中包含DRM热潮期间,创建了一个 Windows Vista Team blog以响应许多问题.其中一个问题回应了VoIP软件在Windows Vista上运行时执行回声消除的能力.

这就是Nick White通过常见问题解答所说的话:

Will echo cancellation work less well for premium content?

We believe that Windows Vista provides applications with access to sufficient information to successfully build high quality echo cancellation functionality.

Windows Vista提供哪些信息以允许应用程序构建高质量的回声消除功能?

Note: Reading that statement,i get the impression that Windows Vista provides sufficient information to allow applications to successfully build high-quality echo cancellation functionality. Presumably the way Windows provides this information is through an API.

回声消除的工作原理是对播放输出进行采样,并从录制的麦克风输入中“减去”.

不幸的是,as MSDN notes,一个不能总是采样播放输出:

Windows Vista provides digital rights
management (DRM). Content providers
rely on DRM to protect their
proprietary music or other content
from unauthorized copying and other
illegal uses. WASAPI does not permit
loopback recording of digital streams
that contain DRM-protected content.
Similarly,a trusted audio driver does
not permit a loopback device to
capture digital streams that contain
protected content. Windows Vista
allows only trusted drivers to play
protected content. For more
information about trusted drivers and
DRM,see the Windows DDK
documentation.

据推测,这意味着使用WASAPI中的Loopback Mode并不是提供回声消除服务的预期方法.

什么是允许实现高质量回声消除的API?

Note: This is related to,but separate from,another question i asked: 07003. This question is specifically looking for an expansion of the response by the Window Vista team that echo-cancellation is possible in Windows. This question is looking for the API; it can be a separate question of how to use it.

谷歌搜索答案,我得到的印象是(在执行回声消除时)允许应用程序对受DRM保护的内容进行采样,但内容将降级(即“足够的信息”).这将使任何回声消除更糟,但仍然可能.

或者Windows团队暗示“足以满足大多数情况,但不是在用户正在收听歌曲或播放电影时” – 并且事实上不可能成功构建高质量的回声消除功能?

更新:应该注意我不是在寻找回声消除API,我正在寻找一个API来对播放输出进行采样 – 这是实现回声消除所需要的.除非Windows Vista提供回声消除API(这是他们继续保护高级内容的方式).但我也没见过回声消除API.

解决方法

http://msdn.microsoft.com/en-us/library/ff819492(v=VS.85).aspx

如果您正在寻找用于进行回声消除的API,则看起来语音捕获dsp已内置支持声学回声消除.

例:
http://msdn.microsoft.com/en-us/library/dd443455(VS.85).aspx

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读