waveIn = New WaveIn()
waveIn.WaveFormat = New WaveFormat(8000, 16, 1)
writer = New WaveFileWriter(CurrentFile, waveIn.WaveFormat)
where currentfile contains newly cretaed file path
waveIn = New WaveIn()
waveIn.WaveFormat = New WaveFormat(8000, 16, 1)
writer = New WaveFileWriter(CurrentFile, waveIn.WaveFormat)
where currentfile contains newly cretaed file path