An array of audio component objects that matches the description.
SDKs
- iOS 9.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- AVFoundation
Declaration
func components(matching desc: Audio Component Description) -> [AVAudio Unit Component]
Parameters
description
The
Audio
struct to match. TheComponent Description type
,subtype
andmanufacturer
fields are used to search for matching audio units. A value of0
for any of these fields is a wildcard and returns the first match found.
Return Value
An array of AVAudio
objects that match the description
.