I have an audio box that also supports MIDI, but I can't figure out how to access CoreMIDI services from an Audio Server plug-in.
On calling MIDIClientCreate(), I see the following log:
com.apple.audio.Core-Audio-Driver-Service: (CoreMIDI) [com.apple.coremidi:client] MIDIClientLib.cpp:258 Couldn't connect to com.apple.midiserver; CoreMIDI will not be usable
I've tried various incantations of the AudioServerPlugIn_MachServices key in the plug-in's Info.plist (per the documentation in AudioServerPlugin.h), but to no avail.
Is there some way to use MIDI from an Audio Server plugin? If no, how should such hardware be supported?