Initializer

init(audioUnit:)

Instantiates a panner view for a specified panner audio unit

Declaration

init(audioUnit au: AudioUnit)

Parameters

au

The panner audio unit associated with the panner view.

Return Value

The newly instantiated panner view. On error, returns nil.

Discussion

Call this static constructor as follows:

AUPannerView *mGenericPannerView = nil;
mGenericPannerView = [AUPannerView AUPannerViewWithAudioUnit: mCurrentAU];