Beispiel #1
0
 public SdrIpIO()
 {
     this._gui = new SDRIPClientDialog(this);
       this._gui.Host = Utils.GetStringSetting("SDRIPHost", "127.0.0.1");
       this._gui.Port = Utils.GetIntSetting("SDRIPPort", 50000);
       this._gui.SamepleRateIndex = Utils.GetIntSetting("SDRIPRateIndex", 9);
       this._gui.SampleFormatIndex = Utils.GetIntSetting("SDRIPFormatIndex", 0);
       this._tuneTimer.Elapsed += new ElapsedEventHandler(this.TuneTimerElapsed);
       for (int index = 0; index < this._circularBuffers.Length; ++index)
     this._circularBuffers[index] = new byte[1444];
 }
        public SdrIpIO()
        {
            _gui = new SDRIPClientDialog(this);
            _gui.Host = Utils.GetStringSetting("SDRIPHost", DefaultHost);
            _gui.Port = Utils.GetIntSetting("SDRIPPort", DefaultPort);
            _gui.SamepleRateIndex = Utils.GetIntSetting("SDRIPRateIndex", 9);
            _gui.SampleFormatIndex = Utils.GetIntSetting("SDRIPFormatIndex", 0);

            _tuneTimer.Elapsed += new ElapsedEventHandler(TuneTimerElapsed);

            for (var i = 0; i < _circularBuffers.Length; i++)
            {
                _circularBuffers[i] = new byte[UdpBufferSize];
            }
        }
Beispiel #3
0
        public SdrIpIO()
        {
            _gui                   = new SDRIPClientDialog(this);
            _gui.Host              = Utils.GetStringSetting("SDRIPHost", DefaultHost);
            _gui.Port              = Utils.GetIntSetting("SDRIPPort", DefaultPort);
            _gui.SamepleRateIndex  = Utils.GetIntSetting("SDRIPRateIndex", 9);
            _gui.SampleFormatIndex = Utils.GetIntSetting("SDRIPFormatIndex", 0);

            _tuneTimer.Elapsed += new ElapsedEventHandler(TuneTimerElapsed);

            for (var i = 0; i < _circularBuffers.Length; i++)
            {
                _circularBuffers[i] = new byte[UdpBufferSize];
            }
        }