捕捉音频输出 [英] Capturing Audio Out
问题描述
我要拍摄播放给用户(一切听起来合)所有音频。目前我的工作在Windows,但它会很好,如果code是跨平台(但不一定)。是否有可能与OpenAL的办呢?怎么样? code例子将是巨大的。
I want to capture all audio that is played to the user (all sounds together). Currently I'm working on Windows but it would be nice if the code was cross-platform (but not necessarily). Is it possible to do it with OpenAL? How? Code examples would be great.
语言:C ++
推荐答案
要做到这一点,我相信的唯一方法是创建一个接收所有的音频请求,然后将它们转发到原来的设备驱动程序替换音频设备驱动程序。有一个数字,以这种方式,包括 Freecorder 时, MP3myMP3记录,的 SoundTap 和 Wondershare的来仅举几例(谷歌流式音频录音机)。
The only way to do this I believe is to create a replacement audio device driver that receives all audio requests, and then forwards them to the original device driver. There are a number of existing applications that work in this way including Freecorder, MP3myMP3 Recorder, SoundTap and Wondershare to name but a few (Google "Streaming Audio Recorder").
对于跨平台的,我会说没有机会,因为它是操作系统驱动程序模型依赖的。
As for cross-platform, I would say not a chance since it is OS driver model dependent.
这篇关于捕捉音频输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!