kAudioUnitProperty_MIDIOutputCallbackInfo
A read-only CFArray object valid on the audio unit global scope.
Declaration
var kAudioUnitProperty_MIDIOutputCallbackInfo: AudioUnitPropertyID { get }Discussion
The host will also need to determine how many MIDI output streams the audio unit can generate (and the name for each of these outputs). Each MIDI output is a complete MIDI data stream, such as embodied by a MIDIEndpointRef in CoreMIDI.
To do, the host uses this property and retrieves an array of CFStringRefs.
the size of the array is the number of MIDI Outputs the audio unit supports
each item in the array is the name for that output at that index
The host should release the array when it is finished with it.
Once the host has determined the audio unit supports this feature, it then instantiates a callback with the unit that the unit will call with MIDI data (see kAudioUnitProperty_MIDIOutputCallback).
See Also
Properties
kAudioUnitProperty_ElementCountkAudioUnitProperty_SupportedNumChannelskAudioUnitProperty_AudioChannelLayoutkAudioUnitProperty_AudioUnitMIDIProtocolkAudioUnitProperty_AUHostIdentifierkAudioUnitProperty_BypassEffectkAudioUnitProperty_ClassInfokAudioUnitProperty_ClassInfoFromDocumentkAudioUnitProperty_CocoaUIkAudioUnitProperty_ContextNamekAudioUnitProperty_CPULoadkAudioUnitProperty_DependentParameterskAudioUnitProperty_ElementNamekAudioUnitProperty_FactoryPresetskAudioUnitProperty_FastDispatch