Dela via


AudioFrame.LockBuffer(AudioBufferAccessMode) Method

Definition

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