AL.SourceQueueBuffer(Int32, Int32) Method

Definition

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.

Applies to