The GetBufferSize method gets the buffer size from the allocator.
USHORT
GetBufferSize(
VOID
);
None
GetBufferSize returns the size in bytes of the buffer.
Declared in dmusicks.h. Include dmusicks.h.
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 miniport stream is created.