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

May 5, 2010 at 4:58 PM


I try to work with your source code but is in c# and i know only

My problem is how in i can choose from were i mic line in etc.

My problem is in that line

 waveIn = new WasapiCapture((MMDevice)comboDevices.SelectedItem);

From a c# to 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 :)


May 12, 2010 at 10:50 AM

the type of waveIn should be IWaveIn, not WaveInStream