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