public void Start(SamplesReadyDelegate callback) { if (Device == null) { throw new ApplicationException("No device selected"); } _callback = callback; try { Device.Start(); } catch { Open(); Device.Start(); } }
public void Start(SamplesReadyDelegate callback) { if (_rtlDevice == null) { throw new ApplicationException("No device selected"); } _callback = callback; try { _rtlDevice.Start(); } catch { Open(); _rtlDevice.Start(); } }