Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a 'virtual' audio device and playing wave files on it 1

Status
Not open for further replies.

unregzeus

Programmer
Dec 30, 2003
2
NL
Hi,

In Windows' "Volume Control" manager one can select which device will be used for recording. I want to add a 'virtual' device to that list and be able to play wave files to that 'virtual' device.

My question is: What technologies/API's/tools/components can I use to achieve this? Can I add a virtual device manually using some tool or can I add it programmatically? And once that device has been created, what is the easiest way to play .wav files on that device?

Once I know where to look (what technologies/API's/tools/components to apply) I'm confident I can work out the details myself.

I'm using C++ (MingW), and have experience with nonrelated DirectX parts (DirectDraw).

Background (what I need it for):

A group of people I often play online multiplayer games with uses a program called Teamspeak for passing voice orders around (using a microphone). Unfortunately not all of us have microphones. By using an emulated microphone (the 'virtual' device I mentioned) those people could send prerecorded orders through Teamspeak, and thus be able to work together with the rest of the team (currently they use text messages but this is less than ideal).

Many thanks,

Eelis
 
Thanks a lot! That's exactly what I was looking for.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top