开发者

How to capture sound from audio out in c++

I need to capture audio stream from the audio output and write it to a file. In fact the way it does fraps.

At the moment I know a few solutions. 1. WDM Filter Audio driver (exactly know what fraps does not use this method) 2. Use the "Stereo Mixer" (if there is in 开发者_开发技巧the system) and then write as usual through waveIn.

Tell me how this problem should be solved properly. It is no code - just explain the algorithm.

Many thanks in advance to all responded.


Just use the stereo mixer as the audio source. To perform the record itself there definetely should be some WinAPI functions, or there is DirectX, or you just could use some 3rd-party library — lots of possibilities here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜