AudioBuffer.CreateReference Method

Definition

Returns an IMemoryBufferReference representation of the audio buffer.

public IMemoryBufferReference CreateReference();

Returns

The IMemoryBufferReference representation of the audio buffer.

Implements

Remarks

The audio buffer is in the form of an array of samples. Each sample is a series of IEEE single-precision floating point values in a linear range from −1.0 to +1.0, one value per channel. The channels within a sample are in speaker number order, as given in the documentation for WAVEFORMATEXTENSIBLE.

For example, in the case of a left/right two-channel audio buffer, the floating point values are the left and right channels of the first sample, followed by the left and right channels of the second sample, and so on.

Applies to

Produkt Wersje
WinRT Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100