Inheritance: RtMidiPort, IMidiOutput
 public Task<IMidiOutput> OpenOutputAsync(string portId)
 {
     var p = new RtMidiOutput ((RtMidiPortDetails) Outputs.First (i => i.Id == portId));
     return p.OpenAsync ().ContinueWith (t => (IMidiOutput) p);
 }
        public Task <IMidiOutput> OpenOutputAsync(IMidiPortDetails port)
        {
            var p = new RtMidiOutput(port);

            return(p.OpenAsync().ContinueWith(t => (IMidiOutput)p));
        }
Beispiel #3
0
        public Task <IMidiOutput> OpenOutputAsync(string portId)
        {
            var p = new RtMidiOutput((RtMidiPortDetails)Outputs.First(i => i.Id == portId));

            return(p.OpenAsync().ContinueWith(t => (IMidiOutput)p));
        }