Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Receives state-change notifications from the presentation clock.
Inheritance
The IMFClockStateSink interface inherits from the IUnknown interface. IMFClockStateSink also has these types of members:
Methods
The IMFClockStateSink interface has these methods.
| IMFClockStateSink::OnClockPause Called when the presentation clock pauses. |
| IMFClockStateSink::OnClockRestart Called when the presentation clock restarts from the same position while paused. |
| IMFClockStateSink::OnClockSetRate Called when the rate changes on the presentation clock. |
| IMFClockStateSink::OnClockStart Called when the presentation clock starts. |
| IMFClockStateSink::OnClockStop Called when the presentation clock stops. |
Remarks
To receive state-change notifications from the presentation clock, implement this interface and call IMFPresentationClock::AddClockStateSink on the presentation clock.
This interface must be implemented by:
- Presentation time sources. The presentation clock uses this interface to request change states from the time source.
- Media sinks. Media sinks use this interface to get notifications when the presentation clock changes.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps | UWP apps] |
| Minimum supported server | Windows Server 2008 [desktop apps | UWP apps] |
| Target Platform | Windows |
| Header | mfidl.h |