AL.SourceQueueBuffer(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.
This function queues a set of buffers on a source. All buffers attached to a source will be played in sequence, and the number of processed buffers can be detected using AL.GetSource with parameter ALGetSourcei.BuffersProcessed. When first created, a source will be of type ALSourceType.Undetermined. A successful AL.SourceQueueBuffers call will change the source type to ALSourceType.Streaming.
public static void SourceQueueBuffer (int source, int buffer);
static member SourceQueueBuffer : int * int -> unit
Parameters
- source
- Int32
The name of the source to queue buffers onto.
- buffer
- Int32
The name of the buffer to be queued.