OutputAudioQueue.SetOfflineRenderFormat Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enables offline rendering by setting the audio format and optionally the channel layout to use when rendering.
public AudioToolbox.AudioQueueStatus SetOfflineRenderFormat (AudioToolbox.AudioStreamBasicDescription desc, AudioToolbox.AudioChannelLayout layout);
member this.SetOfflineRenderFormat : AudioToolbox.AudioStreamBasicDescription * AudioToolbox.AudioChannelLayout -> AudioToolbox.AudioQueueStatus
Parameters
The audio format to use for offline rendering.
- layout
- AudioChannelLayout
The channel layout to use for offline rendering. Optional.
Returns
AudioQueueStatus.Ok on success, otherwise the error.