Пример #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 override void Close()
 {
     port.Close();
 }