Tao.OpenAl SDK Documentation

Al.alBufferData Method (Int32, Int32, Byte[], Int32, Int32)

Fills a buffer with audio data.

[Visual Basic]
Overloads Public Shared Sub alBufferData( _
   ByVal buffer As Integer, _
   ByVal format As Integer, _
   ByVal data As Byte(), _
   ByVal size As Integer, _
   ByVal frequency As Integer _
)
[C#]
public static void alBufferData(
   int buffer,
   int format,
   byte[] data,
   int size,
   int frequency
);

Parameters

buffer
Buffer name to be filled with data.
format

Format type from among the following:

data
Pointer to the audio data.
size
The size of the audio data in bytes.
frequency
The frequency of the audio data.

See Also

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