Contents

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, subtype and manufacturer fields to search for matching audio units. A value of 0 for any of these fields is a wildcard and returns the first match the method finds.

See Also

Getting matching audio components