I try to work with your source code but is in c# and i know only vb.net.
My problem is how in vb.net i can choose from were i record.like mic line in etc.
My problem is in that line
waveIn = new WasapiCapture((MMDevice)comboDevices.SelectedItem);
From a c# to vb.net convert is that
waveIn = New WasapiCapture(DirectCast(comboDevices.SelectedItem, MMDevice))
But i get an error
Error Value of type 'NAudio.CoreAudioApi.WasapiCapture' cannot be converted to 'NAudio.Wave.WaveInStream'.
I hope for your help :)