OK, I finally figured out how to build loopback system with CoreMIDI.
Source is an input device from an app point of view
Destination is an output device from an app point of view
So we just need to create destination with callback in which we will notify sources (with MIDIReceived) about new MIDI data arrived. So we provide source reference as an argument for callback in MIDIDestinationCreate and use this source inside the callback.
Topic:
Media Technologies
SubTopic:
General
Tags: