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