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