Bewerken

Delen via


AudioQueue.Prime(Int32, Int32) Method

Definition

Used to prepare the audio buffers to play back and ensure that there is data ready to be played by the audio hardware.

public AudioToolbox.AudioQueueStatus Prime (int toPrepare, out int prepared);
member this.Prime : int *  -> AudioToolbox.AudioQueueStatus

Parameters

toPrepare
Int32

Number of frames to process. If you pass zero, this will process all the frames.

prepared
Int32

Returns the number of frames actually processed

Returns

AudioQueueStatus.Ok on success, otherwise the error.

Applies to