CMClock Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A source of time information, such as the system clock.
public class CMClock : CoreMedia.CMClockOrTimebase
type CMClock = class
inherit CMClockOrTimebase
- Inheritance
Remarks
Audio devices may also be treated as clocks, since they sample at a specific frequency. The CMClock can calculate drift between instances.
Constructors
CMClock(IntPtr) |
Properties
CurrentTime | |
Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from CMClockOrTimebase) |
HostTimeClock | |
Time | (Inherited from CMClockOrTimebase) |
Methods
ConvertHostTimeToSystemUnits(CMTime) | |
CreateAudioClock(CMClockError) | |
CreateHostTimeFromSystemUnits(UInt64) | |
Dispose() |
Releases the resources used by the CMClockOrTimebase object. (Inherited from CMClockOrTimebase) |
Dispose(Boolean) |
Releases the resources used by the CMClockOrTimebase object. (Inherited from CMClockOrTimebase) |
GetAnchorTime(CMTime, CMTime) | |
Invalidate() | |
MightDrift(CMClock) |