Edytuj

Udostępnij za pośrednictwem


OutputAudioQueue.SetOfflineRenderFormat Method

Definition

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

desc
AudioStreamBasicDescription

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.

Applies to