Instance Property

musicalContextBlock

A callback to the host for musical context information.

Declaration

var musicalContextBlock: AUHostMusicalContextBlock? { get set }

Discussion

An audio unit accessing this property should cache it in realtime-safe storage before beginning to render.

This version 3 property is bridged to the version 2 HostCallback_GetBeatAndTempo and HostCallback_GetMusicalTimeLocation callback members in the kAudioUnitProperty_HostCallbacks API.

See Also

Host Callbacks

var transportStateBlock: AUHostTransportStateBlock?

A callback to the host for transport state information.

var contextName: String?

Information about the host context in which the audio unit is connected, for display in the audio unit’s view.

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