Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


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

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

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


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,


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

Thanks a lot! That's exactly what I was looking for.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close