好的,我的问题是:
如何以编程方式从特定应用程序捕获音频,然后将其发送到 Windows 7 中的特定音频设备?
How can I programmatically capture audio from a specific application and then send it to a specific audio device in Windows 7?
我知道这是可以做到的,因为 SoundLeech 从单个程序中捕获音频,理论上一旦你有了声音,你就可以用它做你想做的事(包括在任何声音输出设备上播放).
I know for a fact this can be done, since SoundLeech captures audio from individual programs, and theoretically once you have the sound you can do what you want with it (including play it to any sound output device).
我是一名 C++ 程序员,但我对 Windows 编程知之甚少.我需要一些指针来从单个程序中捕获声音.我经常使用录音,鉴于目前使用 Windows 的难度很大,我愿意投入大量工作来开发一种方法来更好地处理 Windows 中的声音.
I'm a C++ programmer but I know very little about Windows programming. I need some pointers to capturing sound from individual programs. I work with audio recording very frequently and I would be willing to put in a large amount of work to develop a way to better handle sound in Windows given how difficult to use it currently is.
那么如何直接从应用程序捕获音频流,而无需先通过虚拟音频电缆或类似设备进行路由?
So how can I capture audio streams directly from applications without first routing them through Virtual Audio Cables or the like?
您无法使用标准用户模式 API 来实现.您需要挂钩 API 或创建虚拟设备来接受应用程序流/会话.
You cannot do it using standard user mode APIs. You need to either hook APIs or create virtual devices to accept application streams/sessions.
这篇关于如何从特定应用程序捕获音频并路由到 Windows 7 中的特定音频设备?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!