public void CloseTuner() { DeviceClosed?.Invoke(this, EventArgs.Empty); SampleSource.Close(); CloseTuner(); Close(); }
public void CloseControl() { CloseConnection(); NetShmemSink.Close(); SampleSource.Close(); CloseTuner(); Close(); }
public void CloseSource() { if (ProcessThread != null) { Processing = false; ProcessThread.Join(1000); ProcessThread = null; } if (SampleSource != null) { SampleSource.Close(); SampleSource = null; } }
public virtual void CloseTuner() { DeviceClosed?.Invoke(this, EventArgs.Empty); if (Connected) { USBRX.Tuner.CloseTuner(); USBRX.CurrentMode = eTransferMode.Stopped; USBRX.Close(); USBRX = null; _SampleSource.Close(); Connected = false; } Hide(); }