Example #1
0
        private static unsafe void RTLSDR_SamplesAvailable(object sender, SDRSharp.RTLSDR.SamplesAvailableEventArgs inputbuffer)
        {
            if (_inputfifoBuffer == null)
            {
                _inputfifoBuffer = new ComplexFifoStream(BlockMode.None);
            }

            if (_inputfifoBuffer.Length < _SampleRate)
            {
                _inputfifoBuffer.Write(inputbuffer.Buffer, inputbuffer.Length);
            }
        }
Example #2
0
 private void rtlDevice_SamplesAvailable(object sender, SamplesAvailableEventArgs e)
 {
     _callback(this, e.Buffer, e.Length);
 }
Example #3
0
 private unsafe void rtlDevice_SamplesAvailable(object sender, SamplesAvailableEventArgs e)
 {
     this._callback(this, e.Buffer, e.Length);
 }
Example #4
0
 private unsafe void rtlDevice_SamplesAvailable(object sender, SamplesAvailableEventArgs e)
 {
     this._callback((IFrontendController) this, e.Buffer, e.Length);
 }