Note

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

Access to this page requires authorization. You can try .

AudioFrame.LockBuffer(AudioBufferAccessMode) 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.

Gets a AudioBuffer object that allows you to operate directly on the frame's audio data.

public:
 virtual AudioBuffer ^ LockBuffer(AudioBufferAccessMode mode) = LockBuffer;
AudioBuffer LockBuffer(AudioBufferAccessMode const& mode);
public AudioBuffer LockBuffer(AudioBufferAccessMode mode);
function lockBuffer(mode)
Public Function LockBuffer (mode As AudioBufferAccessMode) As AudioBuffer

Parameters

mode
AudioBufferAccessMode

A value indicating the access mode of the returned audio buffer.

Returns

The buffer containing audio sample data.

Applies to


Feedback

Was this page helpful?