Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

windows

audio

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.

like image 275
user369287 Avatar asked Jun 01 '11 04:06

user369287


People also ask

What is the purpose of a soundcard?

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.

What is sound card for recording?

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.


1 Answers

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.

like image 74
Mark Heath Avatar answered Oct 07 '22 12:10

Mark Heath