Instance Property

musicalContextBlock

A callback to the host for musical context information.

Declaration

iOS, Mac Catalyst, tvOS
@property(copy, nonatomic) AUHostMusicalContextBlock musicalContextBlock;
macOS
@property(copy, atomic) AUHostMusicalContextBlock musicalContextBlock;

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

transportStateBlock

A callback to the host for transport state information.

contextName

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