naudio / NAudio

Audio and MIDI library for .NET
MIT License
5.45k stars 1.09k forks source link

Input Channels Count Wrong #664

Open ullfindsmit opened 4 years ago

ullfindsmit commented 4 years ago

When I look at the number of channels on my DeviceInfo class, it shows 2. However on this app, it shows 6. image

What am I missing?

--- Background

I am working on a winform app that takes audio from a USB mic and saves it to a file. This part is working fine currently.

What I am being asked now is to identify how many MICs(Inputs) are enabled on an external device like the zoom F4 and when someone is talking in to one of them (and which one)

In other words, if this device was hooked up to a laptop and there were 4 people sitting around it, assign each mic to the person and know when he or she spoke.

Thanks in Advance.

robertkjr3d commented 3 years ago

I pointed out this problem of the device only showing 2-CH like 5 to 8 years ago. But is still not fixed in the latest version. We must search for another DLL.

Edit... I switched to CSCore because of this. CSCore has no problem finding the channels. I uninstalled naudio. The coding style was slightly different, but the learning curve was not bad.