public IBassStreamPipelineQueryResult QueryPipeline() { var e = new QueryingPipelineEventArgs(); this.OnQueryingPipeline(e); return(new BassStreamPipelineQueryResult(e.InputCapabilities, e.OutputCapabilities, e.OutputRates, e.OutputChannels)); }
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; }
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; }