예제 #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));
 }