Microsoft DirectX 9.0 |
The IReferenceClock interface provides the reference time for the filter graph.
Filters that can act as a
For more information, see Time and Clocks in DirectShow.
Filter developers: Implement this interface if you are writing a filter that generates reliable clock times. For example, audio renderers implement this interface, because audio sound boards usually contain a reference clock. Use the CBaseReferenceClock class to implement this interface.
To increase the chances that a non-rendering filter will be selected by the Filter Graph Manager as the reference close, follow these steps:
In addition to the methods inherited from IUnknown, the IReferenceClock interface exposes the following methods.
Method | Description |
GetTime | Retrieves the current reference time. |
AdviseTime | Creates a one-shot advise request. |
AdvisePeriodic | Creates a periodic advise request. |
Unadvise | Removes a pending advise request. |