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