Thursday, 5 September 2013

How can you change Window's active recording device using C++?

How can you change Window's active recording device using C++?

Specifics on WHY I want to do this to help you understand my dilemma:
I have enjoyed the ability to change my recording device to stereo mix in
Skype calls so that the people can hear my audio. This is a useful tool
for sharing music/other audio.
I would really like to compile this into a soundboard program, so I can
press a button and have the device switch to stereo mix, play a sound, and
switch back.
Simple enough, but I cannot find a way to change the recording device
using a program.
This question is exactly what I would have wanted answered, but it wasn't.
How can I write software to play sound clips routed into the recording
device?
Also another thread ( Select recording device in C++ (Windows) ) taught me
how to find out how many recording devices I have, but without actually
telling me how to change them.
An acceptable answer is that there is no simple way to do this without
bypassing security Windows has in place.

No comments:

Post a Comment