I want to write a program which allows users to play sound clips into their microphone (recording device) so that they can mix in clips with their voice while using VOIP software (Ventrillo or Skype for example) from their PC. When I say play sound clips into their microphone, I mean the user presses a button, and the sound clip is played that both the user and the people on the other end of the VOIP connection can hear. What API functions can be used to do this on Windows?
This isn't a particularly technical solution, but it might get you thinking in the right direction. You can enable the "Stereo Mix" (on some hardware this option seems to be well hidden, but AFAIK it's always there) as a recording device via control panel (i.e. the output from the Windows mixer that is played to your speakers/headphones). It will then show up in the list of potential microphones in Skype (whether or not they can be changed mid call, I don't know).
Sadly I can't tell you how to automate the above...
Just a quick thought: unless you force your users to use headphones, the background sound will be picked up by the microphone. Mixing it again with the same sound (with some delay) will be tricky at best.
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.