IAllocatorMXF::GetBufferSize method (dmusicks.h)

The GetBufferSize method gets the buffer size from the allocator.

Syntax

USHORT GetBufferSize();

Return value

GetBufferSize returns the size in bytes of the buffer.

Remarks

GetBufferSize simply returns the size of the buffer that the allocator provides through the IAllocatorMXF::GetBuffer call. (For more information, see IAllocatorMXF introduction.) Because this is constant for any version of the port driver, GetBufferSize typically needs to be called only once, at the time that the stream is created.

Requirements

Requirement Value
Target Platform Desktop
Header dmusicks.h (include Dmusicks.h)
IRQL Any level

See also

IAllocatorMXF

IAllocatorMXF::GetBuffer