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

NAudio and soundmax integrated digital HD audio

Jan 8, 2013 at 11:37 AM
Edited Jan 8, 2013 at 1:23 PM

I am trying to see if a pc has a mic plugged in with C#

 

int count = NAudio.Wave.WaveIn.DeviceCount;

 

Normally that returns a 1 when i plug a mic in and 0 if it isn't. But when i use it on a pc with a soundmax integrated digital hd audio it always returns 2 no matter what.

 

I've searched around for a solution and could not find one, so any advice would be great.

I did see that there were 2 older discussions about issues with soundmax, but they did not offer a solution that i need. Thanks in advance

 

*EDIT

I have looked around more, its issues with the soundmax and the winmm.dll. I think i am screwed if i want to know if the mic is plugged in with soundmax...