Type Alias

AUMIDIOutputCallback

When called by a host application, gets MIDI data from an audio unit.

Declaration

typedef OSStatus (*AUMIDIOutputCallback)(void *userData, const AudioTimeStamp *timeStamp, UInt32 midiOutNum, const struct MIDIPacketList *pktlist);

Parameters

userData

Custom data.

timeStamp

midiOutNum

pktlist

Discussion

If you named your callback function MyAUMIDIOutputCallback, you would declare it like this:

See Also

Callbacks

HostCallback_GetBeatAndTempo

When called by the system, provides beat and tempo information to an audio unit from a host application.

HostCallback_GetMusicalTimeLocation

When called by the system, provides musical timing information to an audio unit from a host application.

HostCallback_GetTransportState

When called by the system, provides audio transport state and timeline information to an audio unit from a host application.