components(matching:)
Gets an array of audio component objects that match the description.
Declaration
func components(matching desc: AudioComponentDescription) -> [AVAudioUnitComponent]Return Value
An array of AVAudioComponent objects that match the description.
Discussion
desc: The AudioComponentDescription structure to match. The method uses the
type,subtypeandmanufacturerfields to search for matching audio units. A value of0for any of these fields is a wildcard and returns the first match the method finds.