Beispiel #1
0
 private void InitAudio()
 {
     if (_waveIn != null)
     {
         _waveIn.Close();
     }
     _waveIn  = new WaveIn(this, _codec.DecodedFormat, _codec.DecodedBufferSize);
     _encoder = new AudioConverter(_codec.DecodedBufferSize, _codec.DecodedFormat, _codec.EncodedFormat);
 }