Exemplo n.º 1
0
 // WasapiCapture calls this callback with new audio data
 private void CaptureDataAvailable(object sender, WaveInEventArgs wiea)
 {
     WriteBytes(wiea.Buffer, 0, wiea.BytesRecorded);
 }