Type Method

registerSubclass:asComponentDescription:name:version:

Registers an audio unit subclass.

Declaration

+ (void)registerSubclass:(Class)cls asComponentDescription:(AudioComponentDescription)componentDescription name:(NSString *)name version:(UInt32)version;

Parameters

cls

An AUAudioUnit subclass.

componentDescription

The component to register.

name

The component’s name, using the convention <manufacturer name>: <audio unit name>.

version

The component’s version.

Discussion

This method dynamically registers the supplied AUAudioUnit subclass with the Audio Component system, in the context of the current process only. After you've registered the subclass, instantiate it by calling one of the following:

See Also

Audio Unit Implementations

internalRenderBlock

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

- shouldChangeToFormat:forBus:

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

- setRenderResourcesAllocated:

Sets the Boolean value of the renderResourcesAllocated property.