This project has moved. For the latest updates, please go here.

Enumerating devices - how to determine the type

Jun 2, 2014 at 3:13 PM

I am enumerating the audio devices and would like to be able to select the appropriate icon based on the device type. By type i mean if it is a speaker a headset microphone or speaker phone and so forth.

Is this possible?

The Lync Client is doing it somehow, it shows custom icons for the listed audio device types along with a header denoting the type e.g. (Headset, Speaker Phone, Custom Device)

Any pointers would be grateley appreciated, thanks in advace!

// Matias
Jun 29, 2014 at 10:49 PM
NAudio uses WASAPI device enumeration, so if there is anything in WASAPI that can be used to determine the device type, then it can be used in NAudio