Instance Method

components(matching:)

An array of audio component objects that matches the description.

Declaration

func components(matching desc: AudioComponentDescription) -> [AVAudioUnitComponent]

Parameters

description

The AudioComponentDescription struct to match. The type, subtype and manufacturer fields are used to search for matching audio units. A value of 0 for any of these fields is a wildcard and returns the first match found.

Return Value

An array of AVAudioComponent objects that match the description.

See Also

Getting Matching Audio Components

func components(matching: NSPredicate) -> [AVAudioUnitComponent]

An array of audio component objects that matches the search predicate.