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 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.
A sound card (also referred to as an audio card) is a peripheral device that attaches to the ISA or PCI slot on a motherboard to enable the computer to input, process, and deliver sound.
A sound card converts between digital data and analog sound. This allows you to listen to music and record your own sound. Different types of connectors on a sound card allow you to use external devices, such as headphones, higher quality speakers, and a microphone.
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 you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With