Export (0) Print
Expand All

WM_WRITER_STATISTICS_EX structure

The WM_WRITER_STATISTICS_EX structure is used by IWMWriterAdvanced3::GetStatisticsEx to obtain extended writer statistics.

Syntax


typedef struct _WMWriterStatisticsEx {
  DWORD dwBitratePlusOverhead;
  DWORD dwCurrentSampleDropRateInQueue;
  DWORD dwCurrentSampleDropRateInCodec;
  DWORD dwCurrentSampleDropRateInMultiplexer;
  DWORD dwTotalSampleDropsInQueue;
  DWORD dwTotalSampleDropsInCodec;
  DWORD dwTotalSampleDropsInMultiplexer;
} WM_WRITER_STATISTICS_EX;

Members

dwBitratePlusOverhead

DWORD containing the bit rate plus any overhead.

dwCurrentSampleDropRateInQueue

DWORD containing the current rate at which samples are dropped in the queue in order to reduce demands on the CPU.

dwCurrentSampleDropRateInCodec

DWORD containing the current rate at which samples are dropped in the codec. Samples can be dropped when they contain little new data. To prevent this from happening, call IWMWriterAdvanced2::SetInputSetting to set the g_wszFixedFrameRate setting to TRUE.

dwCurrentSampleDropRateInMultiplexer

DWORD containing the current rate at which samples are dropped in the multiplexer because they arrived late or overflowed the buffer window.

dwTotalSampleDropsInQueue

DWORD containing the total number of samples dropped in the queue.

dwTotalSampleDropsInCodec

DWORD containing the total number of samples dropped in the codec.

dwTotalSampleDropsInMultiplexer

DWORD containing the total number of samples dropped in the multiplexer.

Remarks

Sample rates are given in kilohertz.

Basic writer statistics are contained within a WM_WRITER_STATISTICS structure and must be obtained by calling IWMWriterAdvanced::GetStatistics.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Version

Windows Media Format 9 Series SDK, or later versions of the SDK

Header

Wmsdkidl.h (include Wmsdk.h)

See also

Structures

 

 

Community Additions

ADD
Show:
© 2014 Microsoft