I'm working on converting a microphone app from DirectX to NAudio.
I notice from the Windows Control Panel, microphone sample rates can range across 8000, 11025, 22050, 44100, 48000, 96000, 192000 Hz.
Can waveIn handle all these possible values? Or is there a max value that it will process?
waveIn = new WaveIn();
int sampleRate = 192000;
waveIn.WaveFormat = new WaveFormat(sampleRate,bitDepth, channels);
Question 2: Is there a way to get these input device capabilities for a microphone -- Sample Rate,Bit Depth.
WaveInCapabilities capabilities = WaveIn.GetCapabilities(waveInDevice);
WaveInCapabilities only exposes ProductName and Channels.
Thanks for any advice you can provide.