Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

The _AM_AUDIO_RENDERER_STAT_PARAMenumeration specifies which performance information to retrieve from the audio renderer.

This enumeration type is used in the IAMAudioRendererStats::GetStatParammethod. Each enumeration member defines the meaning of the values that are returned in the pdwParam1and pdwParam2parameters of GetStatParam.

Syntax

enum _AM_AUDIO_RENDERER_STAT_PARAM {
  AM_AUDREND_STAT_PARAM_BREAK_COUNT,
  AM_AUDREND_STAT_PARAM_SLAVE_MODE,
  AM_AUDREND_STAT_PARAM_SILENCE_DUR,
  AM_AUDREND_STAT_PARAM_LAST_BUFFER_DUR,
  AM_AUDREND_STAT_PARAM_DISCONTINUITIES,
  AM_AUDREND_STAT_PARAM_SLAVE_RATE,
  AM_AUDREND_STAT_PARAM_SLAVE_DROPWRITE_DUR,
  AM_AUDREND_STAT_PARAM_SLAVE_HIGHLOWERROR,
  AM_AUDREND_STAT_PARAM_SLAVE_LASTHIGHLOWERROR,
  AM_AUDREND_STAT_PARAM_SLAVE_ACCUMERROR,
  AM_AUDREND_STAT_PARAM_BUFFERFULLNESS,
  AM_AUDREND_STAT_PARAM_JITTER,
};

Constants

Member Param1 Param2

AM_AUDREND_STAT_PARAM_BREAK_COUNT

Not Implemented

The cumulative number of breaks in the audio stream.

Not used.

AM_AUDREND_STAT_PARAM_SLAVE_MODE

Not Implemented

Indicates the current rate matching mode. The value is a bitwise combination of the following:

0x00: No rate matching.

0x01: Match rates to a live source.

0x02: Match rates based on the rate of the incoming audio data.

0x04: Match rates with the filter graph's reference clock, when the clock is not provided by the audio renderer.

0x10: Match rates based on the time stamps of the audio samples.

Not used.

AM_AUDREND_STAT_PARAM_SILENCE_DUR

The cumulative amount of silence the audio renderer has inserted, due to gaps in the time stamps of the incoming samples. The value is given in milliseconds.

Not used.

AM_AUDREND_STAT_PARAM_LAST_BUFFER_DUR

The duration of the most recent audio buffer, in milliseconds.

Not used.

AM_AUDREND_STAT_PARAM_DISCONTINUITIES

The cumulative number of discontinuities in the audio stream.

Not used.

AM_AUDREND_STAT_PARAM_SLAVE_RATE

Not Implemented

The sample rate that the audio renderer is matching, in samples per second.

Not used.

AM_AUDREND_STAT_PARAM_SLAVE_DROPWRITE_DUR

Applies only when the Audio Renderer (WaveOut) filter is matching rates to a master clock.

The amount of data dropped to stay in sync, in milliseconds.

Not used.

AM_AUDREND_STAT_PARAM_SLAVE_HIGHLOWERROR

Valid only when the audio renderer is matching rates to a master clock.

The highest difference noted between the audio renderer's clock and the clock it is trying to match.

The lowest difference noted between the audio renderer's clock and the clock it is trying to match.

AM_AUDREND_STAT_PARAM_SLAVE_LASTHIGHLOWERROR

Valid only when the audio renderer is matching rates to a master clock.

The last high error, in milliseconds. A high error occurs when the audio renderer falls behind the clock.

The last low error, in milliseconds. A low error occurs when the audio renderer runs ahead of the clock.

AM_AUDREND_STAT_PARAM_SLAVE_ACCUMERROR

Valid only when the audio renderer is matching rates to another clock or a live source.

The accumulated difference between the audio renderer and the master clock, including adjustments made by dropping samples or inserting gaps.

Not used.

AM_AUDREND_STAT_PARAM_BUFFERFULLNESS

How much audio data is in the audio buffer, as a percentage.

Not used.

AM_AUDREND_STAT_PARAM_JITTER

Not Implemented

Not used.

Not used.

Requirements

Header dshow.h

See Also