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

Vb.net Project Recorder

May 5, 2010 at 3:58 PM

Hello:)

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 :)

 

Coordinator
May 12, 2010 at 9:50 AM

the type of waveIn should be IWaveIn, not WaveInStream

Mark