Instance Property

maximumFramesToRender

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

Declaration

var maximumFramesToRender: AUAudioFrameCount { get set }

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

var renderBlock: AURenderBlock

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

var scheduleParameterBlock: AUScheduleParameterBlock

The block that hosts use to schedule parameters.

func token(byAddingRenderObserver: AURenderObserver) -> Int

Adds a block to be called on each render cycle.

func removeRenderObserver(Int)

Removes an observer block previously added to the render cycle.

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