IKsReferenceClock::GetPhysicalTime method (ks.h)
The IKsReferenceClock::GetPhysicalTime method queries the associated reference clock for the current physical time.
Syntax
LONGLONG GetPhysicalTime();
Return value
The IKsReferenceClock::GetPhysicalTime method returns the current physical time for the associated pin, specified by default in 100-nanosecond units.
Remarks
Physical time is tied to a physical clock, either the system clock or an on-board hardware clock.
The physical clock time progresses continuously. Unlike the presentation time, it is not reversible.
Clocks are not required to support a 100-nanosecond resolution. To determine the clock resolution, clients can use the KSPROPERTY_CLOCK_RESOLUTION request.
For more information, see AVStream Clocks.
AVStream uses the KSPROPERTY_CLOCK_PHYSICALTIME property to retrieve the physical time.
Requirements
Requirement | Value |
---|---|
Target Platform | Universal |
Header | ks.h (include Ks.h) |