Sets the bus’s audio format.
- iOS 10.0+
- macOS 10.12+
- tvOS 10.0+
- Mac Catalyst 13.0+Beta
The desired audio format.
Returns an error if the operation failed, or
nil if it succeeded.
Audio units can generally be expected to support the
AVAudioFormat standard format (deinterleaved 32-bit float), at any sample rate.
Channel counts can be more complex. See the
channelCapabilities reference for a more complete discussion.
Bus Methods and Properties
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software