Clocks

In any operation related to multimedia, it is vital to synchronize the samples so that video frames are displayed at the proper rate, so that the audio stream does not get ahead of the video, and so on. A DirectShow filter graph therefore always contains exactly one clock that all filters use to either timestamp, process or render media samples. The Filter Graph Manager selects a clock (or provides one if needed) and instructs all the filters to use that clock as the synchronization source.

© 2005 Microsoft Corporation. All rights reserved.