protected virtual void CreatePipelineCore(BassOutputStream stream) { this.Pipeline = this.PipelineFactory.CreatePipeline(stream); this.Pipeline.Input.Add(stream); this.Pipeline.Error += this.OnError; this.OnCreated(); }
protected virtual void FreePipelineCore() { if (this.Pipeline != null) { Logger.Write(this, LogLevel.Debug, "Shutting down the pipeline."); this.Pipeline.Dispose(); this.Pipeline = null; } }