Пример #1
0
 private void CloseInStream()
 {
     if (inStream != null)
     {
         inStream.Dispose();
         inStream = null;
     }
 }
Пример #2
0
 public void LoadFile(string path)
 {
     CloseWaveOut();
     CloseInStream();
     inStream = new TrimWaveStream(new WaveFileReader(path));
 }