Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

AudioBuffer.CreateReference Method

Definition

Namespace:
Windows.Media

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.

Returns an IMemoryBufferReference representation of the audio buffer.

public:
 virtual IMemoryBufferReference ^ CreateReference() = CreateReference;
IMemoryBufferReference CreateReference();
public IMemoryBufferReference CreateReference();
function createReference()
Public Function CreateReference () As IMemoryBufferReference

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


Feedback

Was this page helpful?