Type Alias

HostCallback_GetBeatAndTempo

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

Declaration

typealias HostCallback_GetBeatAndTempo = (UnsafeMutableRawPointer?, UnsafeMutablePointer<Float64>?, UnsafeMutablePointer<Float64>?) -> OSStatus

Parameters

inHostUserData

Custom data that you provided when registering your callback with the audio unit.

outCurrentBeat

On output, the current beat of the music that is playing.

outCurrentTempo

On output, the current tempo of the music that is playing.

Discussion

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

See Also

Callbacks

typealias HostCallback_GetMusicalTimeLocation

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

typealias HostCallback_GetTransportState

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

typealias AUMIDIOutputCallback

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software