AudioQueue.Prime(Int32, Int32) 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.
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.