Instance Method

setRenderResourcesAllocated:

Sets the Boolean value of the renderResourcesAllocated property.

Declaration

- (void)setRenderResourcesAllocated:(BOOL)flag;

Parameters

flag

A Boolean value that determines whether the audio unit has allocated its required rendering resources..

Discussion

In the base class implementation of the allocateRenderResourcesAndReturnError: method, the value of the renderResourcesAllocated property is set to YES. If the allocateRenderResourcesAndReturnError: method fails in a subclass, you must use this method to set the value of the renderResourcesAllocated property to NO.

See Also

Audio Unit Implementations

internalRenderBlock

The block which you must provide, via a getter, in order to implement rendering.

+ registerSubclass:asComponentDescription:name:version:

Registers an audio unit component implemented as an AUAudioUnit subclass.

- shouldChangeToFormat:forBus:

This is called when you set the format on a bus.