Type Alias

AURenderObserver

A block called when an audio unit renders audio.

Declaration

Discussion

This block is called by the base class’s AURenderBlock block before and after each render cycle. The observer can distinguish between before and after using the unitRenderAction_PreRender and unitRenderAction_PostRender action flag values.

The block takes the following parameters:

actionFlags

The pointer to the action flags.

timestamp

The HAL time at which the input data will be rendered. If there is a sample rate conversion or time compression/expansion downstream, the sample time will not have a defined correlation with the AudioDevice sample time.

frameCount

The number of sample frames to render.

outputBusNumber

The index of the output bus to render.

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