IAMClockSlave interface

The IAMClockSlave interface controls the tolerance of an audio renderer when it is matching rates with another clock.

If the audio renderer is matching rates with another clock, it allows the audio to drift up to the amount of the specified tolerance. If the audio drifts too far ahead, the renderer drops samples; if it drifts too far behind, the renderer inserts silent gaps. This interface enables an application to change the tolerance from the default.

Setting a larger tolerance is likely to result in the audio stream becoming out of sync with the video stream. Setting a smaller tolerance can cause audio jitter. Therefore, changing the tolerance setting is not recommended, unless you have a specific reason to do so.

Members

The IAMClockSlave interface inherits from the IUnknown interface. IAMClockSlave also has these types of members:

Methods

The IAMClockSlave interface has these methods.

MethodDescription
GetErrorTolerance

Retrieves the current tolerance.

SetErrorTolerance

Sets the tolerance.

 

Requirements

Minimum supported client

Windows XP with SP1 [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Strmif.h (include Dshow.h)

Library

Strmiids.lib

See also

Live Sources

 

 

Show: