/// <summary> /// Disable a connection. /// </summary> internal void Disable() { if (Enabled) { MMALCheck(MMALConnection.mmal_connection_disable(this.Ptr), "Unable to disable connection"); } }
/// <summary> /// Disable a connection. /// </summary> public void Disable() { if (this.Enabled) { MMALLog.Logger.LogDebug($"Disabling connection between {this.OutputPort.Name} and {this.InputPort.Name}"); MMALCheck(MMALConnection.mmal_connection_disable(this.Ptr), "Unable to disable connection"); } }