Instance Property

scheduleParameterBlock

The block that hosts use to schedule parameters.

Declaration

iOS, Mac Catalyst, tvOS
@property(readonly, nonatomic) AUScheduleParameterBlock scheduleParameterBlock;
macOS
@property(readonly, atomic) AUScheduleParameterBlock scheduleParameterBlock;

Discussion

As with the render block, a host should fetch this block before beginning to render, if it intends to schedule parameters.

The block is safe to call from any thread context, including realtime audio render threads. Subclasses should not override this; it is implemented in the base class and will schedule the events to be provided to the internalRenderBlock implementation

This version 3 property is bridged to the version 2 AudioUnitScheduleParameters API.

See Also

Managing the Render Cycle

renderBlock

The block that hosts use to ask the audio unit to render audio.

maximumFramesToRender

The maximum number of frames that the audio unit can render at once.

- tokenByAddingRenderObserver:

Adds a block to be called on each render cycle.

- removeRenderObserver:

Removes an observer block previously added to the render cycle.