public MidiInput(MidiPortDetails details, MidiOutputPort port) : base(details, () => port.Close()) { this.port = port; receiver = new Receiver(this); port.Connect(receiver); }
public override void Close() { port.Close(); }