title: Select recording device in C++ (Windows)
body: <p>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.</p>
  
  <p>I found something related in C++, but it not working good:
  <a href="http://forums.codeguru.com/showthread.php?t=449213" rel="nofollow">http://forums.codeguru.com/showthread.php?t=449213</a></p>
  
  <p>Please help.</p>