AL.SourcePlay Method

Definition

Overloads

SourcePlay(Int32)

This function plays, replays or resumes a source. The playing source will have it's state changed to ALSourceState.Playing. When called on a source which is already playing, the source will restart at the beginning. When the attached buffer(s) are done playing, the source will progress to the ALSourceState.Stopped state.

SourcePlay(UInt32)

This function plays, replays or resumes a source. The playing source will have it's state changed to ALSourceState.Playing. When called on a source which is already playing, the source will restart at the beginning. When the attached buffer(s) are done playing, the source will progress to the ALSourceState.Stopped state.

SourcePlay(Int32, Int32[])

This function plays a set of sources. The playing sources will have their state changed to ALSourceState.Playing. When called on a source which is already playing, the source will restart at the beginning. When the attached buffer(s) are done playing, the source will progress to the ALSourceState.Stopped state.

SourcePlay(Int32, UInt32)

This function plays a set of sources. The playing sources will have their state changed to ALSourceState.Playing. When called on a source which is already playing, the source will restart at the beginning. When the attached buffer(s) are done playing, the source will progress to the ALSourceState.Stopped state.

SourcePlay(Int32, UInt32*)

This function plays a set of sources. The playing sources will have their state changed to ALSourceState.Playing. When called on a source which is already playing, the source will restart at the beginning. When the attached buffer(s) are done playing, the source will progress to the ALSourceState.Stopped state.

SourcePlay(Int32, UInt32[])

This function plays a set of sources. The playing sources will have their state changed to ALSourceState.Playing. When called on a source which is already playing, the source will restart at the beginning. When the attached buffer(s) are done playing, the source will progress to the ALSourceState.Stopped state.

SourcePlay(Int32)

This function plays, replays or resumes a source. The playing source will have it's state changed to ALSourceState.Playing. When called on a source which is already playing, the source will restart at the beginning. When the attached buffer(s) are done playing, the source will progress to the ALSourceState.Stopped state.

public static void SourcePlay (int sid);
static member SourcePlay : int -> unit

Parameters

sid
Int32

The name of the source to be played.

Applies to

SourcePlay(UInt32)

Important

This API is not CLS-compliant.

This function plays, replays or resumes a source. The playing source will have it's state changed to ALSourceState.Playing. When called on a source which is already playing, the source will restart at the beginning. When the attached buffer(s) are done playing, the source will progress to the ALSourceState.Stopped state.

[System.CLSCompliant(false)]
public static void SourcePlay (uint sid);
static member SourcePlay : uint32 -> unit

Parameters

sid
UInt32

The name of the source to be played.

Attributes

Applies to

SourcePlay(Int32, Int32[])

This function plays a set of sources. The playing sources will have their state changed to ALSourceState.Playing. When called on a source which is already playing, the source will restart at the beginning. When the attached buffer(s) are done playing, the source will progress to the ALSourceState.Stopped state.

public static void SourcePlay (int ns, int[] sids);
static member SourcePlay : int * int[] -> unit

Parameters

ns
Int32

The number of sources to be played.

sids
Int32[]

A pointer to an array of sources to be played.

Applies to

SourcePlay(Int32, UInt32)

Important

This API is not CLS-compliant.

This function plays a set of sources. The playing sources will have their state changed to ALSourceState.Playing. When called on a source which is already playing, the source will restart at the beginning. When the attached buffer(s) are done playing, the source will progress to the ALSourceState.Stopped state.

[System.CLSCompliant(false)]
public static void SourcePlay (int ns, ref uint sids);
static member SourcePlay : int *  -> unit

Parameters

ns
Int32

The number of sources to be played.

sids
UInt32

A pointer to an array of sources to be played.

Attributes

Applies to

SourcePlay(Int32, UInt32*)

Important

This API is not CLS-compliant.

This function plays a set of sources. The playing sources will have their state changed to ALSourceState.Playing. When called on a source which is already playing, the source will restart at the beginning. When the attached buffer(s) are done playing, the source will progress to the ALSourceState.Stopped state.

[System.CLSCompliant(false)]
public static void SourcePlay (int ns, uint* sids);
static member SourcePlay : int * nativeptr<uint32> -> unit

Parameters

ns
Int32

The number of sources to be played.

sids
UInt32*

A pointer to an array of sources to be played.

Attributes

Applies to

SourcePlay(Int32, UInt32[])

Important

This API is not CLS-compliant.

This function plays a set of sources. The playing sources will have their state changed to ALSourceState.Playing. When called on a source which is already playing, the source will restart at the beginning. When the attached buffer(s) are done playing, the source will progress to the ALSourceState.Stopped state.

[System.CLSCompliant(false)]
public static void SourcePlay (int ns, uint[] sids);
static member SourcePlay : int * uint32[] -> unit

Parameters

ns
Int32

The number of sources to be played.

sids
UInt32[]

A pointer to an array of sources to be played.

Attributes

Applies to