         closeInput(uid: uid)
     }
 
-    /// Open a MIDI Input port by index
+    /// Close a MIDI Input port by index
     ///
     /// - Parameter index: Index of destination port name
     ///

        }
    }

    /// Open a MIDI Input port by name
    ///
    /// - Parameter name: Name of port to close.
    ///

    ///
    public func closeOutput(uid outputUid: MIDIUniqueID) {
        let name = destinationName(for: outputUid)
        AKLog("Closing MIDI Output '\(String(describing: name))'")
        var result = noErr
        if let endpoint = endpoints[outputUid] {
                endpoints.removeValue(forKey: outputUid)
                AKLog("Disconnected \(name) and removed it from endpoints")
        }
    }

