Problem trying using lame

Aug 24, 2010 at 4:07 PM

For time now i using the lib and now i tried to compress the wav to mp3.But o major problem came up.

If i use that one

Me.waveIn = New WaveIn
Me.waveIn.WaveFormat = New NAudio.Wave.WaveFormat(&H1F40, 1)

Everything works nice

but if i try that

 Me.waveIn = New WasapiCapture(DirectCast(Me.comboDevices.SelectedItem, MMDevice))

The Outcome wav it isnt work.(It is like damaged) the lame it doesn't convert to mp3,i think because the wav file missed something.

Any help about that it will be helpful.


Sep 6, 2010 at 10:39 AM

how are you writing the WAV file? You are only showing how you are doing the capture