init(audioUnit:displayFlags:)
Initializes a generic view for an audio unit, setting specific display flags.
Declaration
init(audioUnit inAudioUnit: AudioUnit, displayFlags inFlags: AUGenericViewDisplayFlags)Parameters
- inAudioUnit:
The audio unit associated with the generic view.
- inFlags:
One or more flags that specify display properties. You can combine multiple flags using the logical
OR(|) operator. For the available flags, seeGeneric View Display Flags.
Return Value
The initialized audio unit associated with the generic view, with display flags set.