Exemplo n.º 1
0
 public void SelectDevice(uint index)
 {
     Close();
     _rtlDevice = new RtlDevice(index);
     _rtlDevice.SamplesAvailable += rtlDevice_SamplesAvailable;
     _rtlDevice.Frequency         = _frequency;
 }
Exemplo n.º 2
0
 public void Close()
 {
     if (this._rtlDevice == null)
     return;
       this._rtlDevice.Stop();
       this._rtlDevice.SamplesAvailable -= new SamplesAvailableDelegate(this.rtlDevice_SamplesAvailable);
       this._rtlDevice.Dispose();
       this._rtlDevice = (RtlDevice) null;
 }
Exemplo n.º 3
0
 public void Close()
 {
     if (_rtlDevice != null)
     {
         _rtlDevice.Stop();
         _rtlDevice.SamplesAvailable -= rtlDevice_SamplesAvailable;
         _rtlDevice.Dispose();
         _rtlDevice = null;
     }
 }
Exemplo n.º 4
0
 public void Close()
 {
     if (_rtlDevice != null)
     {
         _rtlDevice.Stop();
         _rtlDevice.SamplesAvailable -= rtlDevice_SamplesAvailable;
         _rtlDevice.Dispose();
         _rtlDevice = null;
     }
 }
Exemplo n.º 5
0
 public void SelectDevice(uint index)
 {
     Close();
     _rtlDevice = new RtlDevice(index);
     _rtlDevice.SamplesAvailable += rtlDevice_SamplesAvailable;
     _rtlDevice.Frequency = _frequency;
 }
Exemplo n.º 6
0
 public void SelectDevice(uint index)
 {
     this.Close();
       this._rtlDevice = new RtlDevice(index);
       this._rtlDevice.SamplesAvailable += new SamplesAvailableDelegate(this.rtlDevice_SamplesAvailable);
       this._rtlDevice.Frequency = this._frequency;
 }