Tao.OpenAl SDK Documentation

Al.alSourcei Method 

Sets an integer property of a source.

[Visual Basic]
Public Shared Sub alSourcei( _
   ByVal source As Integer, _
   ByVal attribute As Integer, _
   ByVal val As Integer _
)
[C#]
public static void alSourcei(
   int source,
   int attribute,
   int val
);

Parameters

source
Source name whose attribute is being set.
attribute

The name of the attribute to set:

val
The value to set the attribute to.

Remarks

The buffer name zero is reserved as a ?“Null Buffer" and is accepted by alSourcei(?…, Al.AL_BUFFER, ?…) as a valid buffer of zero length.

See Also

Al Class | Tao.OpenAl Namespace