public override void InitializeComponent(ICore core)
 {
     core.Components.Configuration.GetElement <SelectionConfigurationElement>(
         BassOutputConfiguration.SECTION,
         BassDsdStreamProviderBehaviourConfiguration.DSD_RATE_ELEMENT
         ).ConnectValue(value => this.Rate = BassDsdStreamProviderBehaviourConfiguration.GetRate(value));
     core.Components.Configuration.GetElement <IntegerConfigurationElement>(
         BassOutputConfiguration.SECTION,
         BassDsdStreamProviderBehaviourConfiguration.DSD_GAIN_ELEMENT
         ).ConnectValue(value => this.Gain = value);
     base.InitializeComponent(core);
 }
 public IEnumerable <ConfigurationSection> GetConfigurationSections()
 {
     return(BassDsdStreamProviderBehaviourConfiguration.GetConfigurationSections());
 }