상속: MidiStream
예제 #1
0
 public override Task OpenAsync()
 {
     Connection = MidiPortConnectionState.Pending;
     impl       = MidiDeviceManager.OpenOutput(((PortMidiPortDetails)Details).RawId);
     Connection = MidiPortConnectionState.Open;
     return(completed_task);
 }
예제 #2
0
 public PortMidiPlayer(MidiOutput output, SmfMusic music)
     : base(music)
 {
     this.output    = output;
     EventReceived += delegate(SmfEvent m) { SendMidiMessage(m); };
 }
예제 #3
0
 public PortMidiPlayer(MidiOutput output, SmfMusic music)
     : base(music)
 {
     this.output = output;
     EventReceived += delegate (SmfEvent m) { SendMidiMessage (m); };
 }