Tao.OpenAl SDK Documentation

Al.alGenSources Method (Int32, Int32)

Generates one or more sources.

[Visual Basic]
Overloads Public Shared Sub alGenSources( _
   ByVal number As Integer, _
   ByRef source As Integer _
)
[C#]
public static void alGenSources(
   int number,
   out int source
);

Parameters

number
The number of sources to be generated.
source
Pointer to an array of integer values which will store the names of the new sources.

Remarks

If the requested number of sources cannot be created, an error will be generated which can be detected with alGetError. If an error occurs, no sources will be generated. If number equals zero, alGenSources does nothing and does not return an error.

See Also

Al Class | Tao.OpenAl Namespace | Al.alGenSources Overload List