AudioFrame.LockBuffer(AudioBufferAccessMode) Method
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.
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
A value indicating the access mode of the returned audio buffer.
Returns
The buffer containing audio sample data.