AudioBuffer Struct

Definition

Represents a collection of audio samples.

public struct AudioBuffer
type AudioBuffer = struct
Inheritance
AudioBuffer

Remarks

The samples stored on the audio buffer can either contain monophonic samples, in which case the NumberOfChannels property will be set to one. If the samples stored are stereo, then the NumberOfChannels will be set to two, and the samples are interleaved in the buffer.

Fields

Data

Pointer to the raw audio data.

DataByteSize

The size of the buffer pointed to by Data.

NumberChannels

The number of channels in the audio buffer. One for monophonic, non-interleaved data or two for stereo, interleaved data.

Methods

ToString()

Debugging method that display information about the AudioBuffer.

Applies to