Instance Property

maximumFramesToRender

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

Declaration

iOS, Mac Catalyst, tvOS
@property(nonatomic) AUAudioFrameCount maximumFramesToRender;
macOS
@property(atomic) AUAudioFrameCount maximumFramesToRender;

Discussion

This must be set by the host before render resources are allocated. It cannot be changed while render resources are allocated.

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

See Also

Managing the Render Cycle

renderBlock

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

scheduleParameterBlock

The block that hosts use to schedule parameters.

- tokenByAddingRenderObserver:

Adds a block to be called on each render cycle.

- removeRenderObserver:

Removes an observer block previously added to the render cycle.