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