CMClock Class

Definition

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)

Applies to