Windows Vista中/ 7:如何采样输出音频组合? [英] Windows Vista/7: How to sample output audio mix?

查看:213
本文介绍了Windows Vista中/ 7:如何采样输出音频组合?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎样才能获得的电流波形输出采样流?

How can i gain access to the current wave output sample stream?

在上一social.microsoft.com 2006年12月的问题(<一个href=\"http://social.msdn.microsoft.com/Forums/en/windowspro-audiodevelopment/thread/e725bb7c-607c-410a-a495-9c92987a34c4\"相对=nofollow>如何从波浪或立体声混音在Vista中)yjslash问录:

In a December 2006 question on social.microsoft.com (How to record from 'Wave' or 'Stereo Mix' in Vista?) yjslash asked:

在Windows XP或更早,我可以捕获音频流至扬声器。换句话说, DirectSoundCapture 能够从选定的源代码行捕获。如果波形输出混音或者立体声混音或类似的东西被选定为录音源线,DirectSoundCapture能够将音频流记录到扬声器。

On Windows XP or earlier, I could capture the audio stream to the speaker. In other words, DirectSoundCapture was able to capture from the selected source line. And if "Wave Out Mix" or "Stereo Mix" or something similar was selected as recording source line, DirectSoundCapture was able to record the audio stream to the speaker.

要其拉里奥斯特曼(MSFT)(音频团队和开发的StackOverflow用户)回应道:

To which Larry Osterman (MSFT) (audio team dev and StackOverflow user) responded:

你在XP中使用哪些API这个?他们应该继续在Vista上运行。

What APIs did you use for this in XP? They should continue to work on Vista.

WASAPI 有一个特殊的环回模式,允许客户端捕捉到后混合音频流,这可能有助于以及

WASAPI has a special Loopback mode that allows a client to capture the post-mix audio stream, that may help as well

#2(A问题<一href=\"http://stackoverflow.com/questions/4337774/how-do-i-read-system-audio-output-in-windows-xp-and-windows-7\">How做我读Windows XP和Windows 7系统的音频输出?)还提到,在 WASAPI 有样本的输出组合,它的开始提供Windows Vista中的能力。

A question on Stackoverflow (How do I read system audio output in windows xp and windows 7?) also mentions that the WASAPI has the ability to sample the output mix, and that it's available starting with Windows Vista.

<一个href=\"http://windowsteamblog.com/windows/archive/b/windowsvista/archive/2007/01/20/windows-vista-content-protection-twenty-questions-and-answers.aspx\"相对=nofollow> 2007年的一月份Windows团队博客作品提到采样音频输出的功能(回声消除的目的;和HDCP上是否会有什么样的影响):

A January of 2007 a Windows Team blog entry mentions the ability to sample the audio output (for the purposes of echo cancellation; and what effect HDCP will have on it):

会回音消除工作较差的为premium内容?

我们相信,Windows Vista提供的应用程序能够访问足够的信息来成功打造高品质的回声消除功能。

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

什么API被用于采样音频输出?哪些接入并提供Vista的应用做访问当前音频输出流?什么样的功能,以及如何使用它们的WASAPI的允许通过的电流输出的音频采样/捕获?

What API is used to sample the audio output? What access does Vista provide applications to do access the current audio output stream? What functions, and how to use them, of the WASAPI allows sampling/capture of the current audio output?

  • Tool for exploring Windows Vista Audio device chain (tree?)
  • MSDN: About WASAPI

推荐答案

我发现的这个(的环回录音)在MSDN,也的捕捉一个Stream )。

I found this (Loopback Recording) in MSDN, and also this (Capturing a Stream).

顺便说一句,根据MSDN,WASAPI不会让你捕捉与DRM保护流:

By the way, according to MSDN, WASAPI will not allow you to capture streams with DRM protection:

Windows Vista提供了数字版权管理(DRM)。 WASAPI不允许包含DRM保护的内容数字流的回送录音。同样,一个值得信赖的音频驱动程序不允许一个回环设备,以捕获包含保护的内容数字流。 Windows Vista中只允许受信任的司机播放受保护的内容。有关信任的驱动程序和DRM的详细信息,请参阅Windows DDK文档。

Windows Vista provides digital rights management (DRM). 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.

这篇关于Windows Vista中/ 7:如何采样输出音频组合?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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