Instance Property

transportStateBlock

A callback to the host for transport state information.

Declaration

var transportStateBlock: AUHostTransportStateBlock? { 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_GetTransportState and HostCallback_GetTransportState2 callback members in the kAudioUnitProperty_HostCallbacks API.

See Also

Host Callbacks

var musicalContextBlock: AUHostMusicalContextBlock?

A callback to the host for musical context information.

var contextName: String?

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