Capturing audio from the player to a real sound card

I am trying to create an application to intercept the sound from the player before it reaches the real sound card, and redirect the audio stream to the RDP virtual channel in order to play the sound on the speaker of the remote client.

How to implement this scenario for Windows XP and Vista? Any help would be appreciated.

Thanks.

+4
source share
3 answers

If your budget allows this, you can try Virtual Audio Cable . This is a commercial virtual audio driver that can be used behind the scenes (as Mark Heath recommended).

+3
source

The only reliable way to do this is to write your own audio device driver, which is not a trivial task.

A compromise would be to write an application that writes output to a sound card. In Vista and above, you can do this using WASAPI to do loopback recording . In XP, you should hope that your sound card manufacturer has included a "What U Hear" (sic) source with the driver. See this question for more information.

+1
source

Another way would be to use the Stereo Mix in your devices section of your windows recorder. However, it captures the analog output from your sound card, and you must keep this in mind that it is analog, not digital. And yes, I was looking to capture the audio stream before reaching the sound card just like you, so I hope that if someone knows how to do this, share the answers with us.

0
source

All Articles