AudioBuffer Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |