Пример #1
0
        public IBassStreamPipelineQueryResult QueryPipeline()
        {
            var e = new QueryingPipelineEventArgs();

            this.OnQueryingPipeline(e);
            return(new BassStreamPipelineQueryResult(e.InputCapabilities, e.OutputCapabilities, e.OutputRates, e.OutputChannels));
        }
Пример #2
0
 protected virtual void OnQueryingPipeline(QueryingPipelineEventArgs e)
 {
     if (this.QueryingPipeline == null)
     {
         return;
     }
     this.QueryingPipeline(this, e);
 }
 protected virtual void OnQueryingPipeline(object sender, QueryingPipelineEventArgs e)
 {
     if (!this.Enabled)
     {
         return;
     }
     e.OutputRates    = BassWasapiDevice.Info.SupportedRates;
     e.OutputChannels = BassWasapiDevice.Info.Outputs;
 }
Пример #4
0
 protected virtual void OnQueryingPipeline(object sender, QueryingPipelineEventArgs e)
 {
     if (!this.Enabled)
     {
         return;
     }
     this.OnInitDevice();
     e.OutputRates    = BassDirectSoundDevice.Info.SupportedRates;
     e.OutputChannels = BassDirectSoundDevice.Info.Outputs;
 }
 protected virtual void OnQueryingPipeline(object sender, QueryingPipelineEventArgs e)
 {
     if (!this.Enabled)
     {
         return;
     }
     if (this.DsdDirect)
     {
         e.OutputCapabilities |= BassCapability.DSD_RAW;
     }
     e.OutputRates    = BassAsioDevice.Info.SupportedRates;
     e.OutputChannels = BassAsioDevice.Info.Outputs;
 }