IWMCodecLeakyBucket::GetBufferSizeBits method (wmcodecdsp.h)
Retrieves the current size of the buffer in bits.
Syntax
HRESULT GetBufferSizeBits(
[out] ULONG *pulBufferSize
);
Parameters
[out] pulBufferSize
Pointer to a variable containing the buffer size, in bits.
Return value
This method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
Remarks
The buffer size is equal to the bit rate of the stream multiplied by the buffer window. For example, a stream with a bit rate of 28 kilobits per second with a buffer window of 3 seconds would have a buffer of 28000 bits per second x 3 seconds = 84000 bits.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | wmcodecdsp.h |