共用方式為


IWMCodecLeakyBucket::GetBufferSizeBits Method

Retrieves the current size of the buffer in bits.

Syntax

HRESULT GetBufferSizeBits(
  [out]  ULONG *pulBufferSize
);

Parameters

  • pulBufferSize [out]
    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
S_OK

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

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

Wmcodecdsp.h

See Also

IWMCodecLeakyBucket Interface

IWMCodecLeakyBucket::SetBufferSizeBits

 

 

Send comments about this topic to Microsoft

Build date: 4/7/2010