public SettingsControl(ISharpControl settingsControl, FrontEndControl frontEndControl, BasicProcessor basicProcessor)
 {
     InitializeComponent();
     _settingsControl = settingsControl;
     _basicProcessor  = basicProcessor;
     _frontEndControl = frontEndControl;
 }
Example #2
0
        public void Initialize(ISharpControl control)
        {
            _frontEndControl = new FrontEndControl(control);
            _basicProcessor  = new BasicProcessor(control, _frontEndControl);
            _settingsControl = new SettingsControl(control, _frontEndControl, _basicProcessor);

            control.RegisterStreamHook(_basicProcessor, SDRSharp.Radio.ProcessorType.FilteredAudioOutput);
            control.RegisterFrontControl(_frontEndControl, PluginPosition.Bottom);

            _basicProcessor.Enabled = true;
        }