An array of audio components that pass the block method.
- iOS 9.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
The block to apply to the audio unit components.
The block takes two parameters.
A block to test .
A reference to a Boolean value. The block can set the value to
trueto stop further processing of the search. The stop argument is an out-only argument. You should only ever set this Boolean to
truewithin the Block.
The block returns a Boolean value that indicates whether
comppassed the test. Returning
truewill stop further processing of the audio components.
An array of audio components that pass the test.
For each AudioComponent found by the manager, the block method will be called. If the block returns YES then the
AVAudio instance is added to the array.