/// <summary> /// Enable a connection. The format of the two ports must have been committed before calling this function, although note that on creation, /// the connection automatically copies and commits the output port's format to the input port. /// </summary> internal void Enable() { if (!Enabled) { MMALCheck(MMALConnection.mmal_connection_enable(this.Ptr), "Unable to enable connection"); } }
/// <summary> /// Enable a connection. The format of the two ports must have been committed before calling this function, although note that on creation, /// the connection automatically copies and commits the output port's format to the input port. /// </summary> public void Enable() { if (!this.Enabled) { MMALLog.Logger.LogDebug($"Enabling connection between {this.OutputPort.Name} and {this.InputPort.Name}"); MMALCheck(MMALConnection.mmal_connection_enable(this.Ptr), "Unable to enable connection"); } }