How to select recording device in C++ , Windows. I want to record sound from PC, and I want a function in C++ which can select device: Line, Microphone or Stereo Mix. I dont know how to do that. Please show me example or give me links to learn this.
I found something related in C++, but it not working good:
http://forums.codeguru.com/showthread.php?t=449213
Please help.
What you can try is by calling the waveInGetNumDevs
Here is an example: