Inheritance: RtMidiPort, IMidiInput
コード例 #1
0
 public Task<IMidiInput> OpenInputAsync(string portId)
 {
     var p = new RtMidiInput ((RtMidiPortDetails) Inputs.First (i => i.Id == portId));
     return p.OpenAsync ().ContinueWith (t => (IMidiInput) p);
 }
コード例 #2
0
        public Task <IMidiInput> OpenInputAsync(IMidiPortDetails port)
        {
            var p = new RtMidiInput(port);

            return(p.OpenAsync().ContinueWith(t => (IMidiInput)p));
        }
コード例 #3
0
        public Task <IMidiInput> OpenInputAsync(string portId)
        {
            var p = new RtMidiInput((RtMidiPortDetails)Inputs.First(i => i.Id == portId));

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