开发者

Intercepting the audio from player before it reaches the real sound card

I am trying to build an application for intercepting the audio from player before it reaches the real sound card and redirect the audio stream to RDP virtual channel so that开发者_StackOverflow社区 to play the audio at the speaker of remote client.

How to implement this scenario for windows xp and vista? Any help will be appreciated.

Thanks.


The only reliable way of doing this would be to write your own audio device driver, which is not a trivial undertaking.

A compromise solution would be attempt to write an application that records the output to the soundcard. In Vista and above you can do this using WASAPI to do loopback recording. In XP, you have to hope that your soundcard manufacturer included a "What U Hear" (sic) record source with their driver. See this question for more info.


If your budget allows it, you could try with Virtual Audio Cable. It is a commercial virtual audio driver that you could use behind the scenes (as Mark Heath recommended).


Another way would be using Stereo Mix in your recorder devices section of your windows. However it captures analog output from your sound card and you should stick this in your mind that it's analog, not digital. And yes I am searching to capture audio stream before reaching sound card just like you, so I hope if somebody knows how to do this, shares answer with us.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜