Sets the rendering mode and audio format for a playback audio queue.
- iOS 2.0+
- macOS 10.5+
- Mac Catalyst 13.0+
- tvOS 9.0+
The playback audio queue whose rendering mode and audio format you want to set.
The audio format for offline rendering. The format must be some sort of linear PCM. If the format has more than one channel, it must be interleaved. For more information on the
Audiostructure, see Core Audio Data Types.
Stream Basic Description
NULLto disable offline rendering and return the audio queue to normal output to an audio device.
A result code. See Result Codes.
Use this function to set a playback audio queue to perform offline rendering, such as for export to an audio file. In offline rendering mode, a playback audio queue does not connect to external hardware.
You can also use this function to restore an audio queue to normal rendering mode by passing
NULL in the