Inheritance: MidiStream
 public override Task OpenAsync()
 {
     Connection = MidiPortConnectionState.Pending;
     impl       = MidiDeviceManager.OpenOutput(((PortMidiPortDetails)Details).RawId);
     Connection = MidiPortConnectionState.Open;
     return(completed_task);
 }
 public PortMidiPlayer(MidiOutput output, SmfMusic music)
     : base(music)
 {
     this.output    = output;
     EventReceived += delegate(SmfEvent m) { SendMidiMessage(m); };
 }
 public PortMidiPlayer(MidiOutput output, SmfMusic music)
     : base(music)
 {
     this.output = output;
     EventReceived += delegate (SmfEvent m) { SendMidiMessage (m); };
 }