Exemple #1
0
 public void Close()
 {
     if (_audioStreamer != null)
     {
         grabber.Close();
         _audioStreamer.Close();
         Object.Destroy(_audioStreamer);
         _audioStreamer = null;
     }
 }
Exemple #2
0
 public void Close()
 {
     if (_audioGrabber != null)
     {
         _audioGrabber.Close();
         _audioProcessor.Close();
     }
     _audioProcessor = null;
     _audioGrabber   = null;
     Output.Clear();
     _audioCreated = false;
 }
Exemple #3
0
 public void Close()
 {
     if (_audioStreamer != null)
     {
         if (_grabber != null)
         {
             _grabber.Close();
         }
         _audioStreamer.Close();
         _audioStreamer.Destroy();
         _audioStreamer = null;
     }
 }