예제 #1
0
        internal Ddc1(G33DdcRadio radio)
        {
            _api   = radio.Api();
            _radio = radio;

            UpdateDdcArgs();

            _radio.Ddc1DataRecieved += (s, e) => OnDataRecieved(e);
        }
예제 #2
0
        internal Ddc2(G33DdcRadio radio, uint channel)
        {
            _api         = radio.Api();
            _radio       = radio;
            _channel     = channel;
            _demodulator = new Demodulator(this);

            UpdateDdcArgs();

            radio.Ddc1().DdcChanged += (s, e) => UpdateDdcArgs();

            radio.Ddc2DataRecieved             += (s, e) => OnDataRecieved(e);
            radio.Ddc2PreprocessedDataRecieved += (s, e) => OnPreprocessedDataRecieved(e);
            radio.AudioDataRecieved            += (s, e) => OnAudioDataRecieved(e);
        }
예제 #3
0
 internal Demodulator(Ddc2 ddc2)
 {
     _ddc2  = ddc2;
     _radio = ddc2.Radio();
     _api   = _radio.Api();
 }