Search code examples
c++windowsinputdevicemicrophone

Microphone list (input device list) in Windows


I am wondering how can I ask Windows and retrieve a list over current input devices? Language is C++. The goal is to select from the list in a program I am making. Tried searching a bit, but found nothing..

Please help :)

Thank you.


Solution

  • This can be done through the WaveIn Windows API. Since there is already a post with code to enumarate and retrieve the names of input devices here I won't make a new one.