捕捉单个应用程序的音频在Windows 7 [英] Capture audio of a single application on Windows 7
本文介绍了捕捉单个应用程序的音频在Windows 7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有一种方法来捕捉只有一个单一的应用程序输出的声音,而不是系统作为一个整体?随着 WASAPI 我可以捕捉的the整个系统的音频,但我只希望从一个应用程序捕获音频(会有是许多应用中,所有的音频播放一次。)
Is there a way to capture the audio outputted by only a single application, and not the system as a whole? With WASAPI I can capture the entire system audio, but I wish to only capture the audio from one application (there will be many applications, all playing audio at once.)
推荐答案
走弯路一>用于钩住。使用LIB挂钩 IAudioRenderClient < /一>界面,包括的的GetBuffer 和 ReleaseBuffer 的,并从缓冲器读取数据
Detours is used for hooking. Using the lib to hook IAudioRenderClient interface, including GetBuffer and ReleaseBuffer, and read data from the buffer.
这篇关于捕捉单个应用程序的音频在Windows 7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文