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.
Properties
| Name | Description |
|---|---|
| AnyDisplayIsSynchronizedToLockedGenlockSignalKey |
Identifies the boolean payload value indicating whether any display is synchronized to a locked genlock signal. |
| CurrentTime | |
| DisplayGenlockModeChangedNotification |
Identifies the notification posted when a display enters or leaves genlock mode. |
| Handle | (Inherited from DisposableObject) |
| HostTimeClock | |
| ImplementsGetPreferredStartTimePattern |
Gets whether this clock implements GetPreferredStartTimePattern(CMTime, CMTime, CMTime). |
| IsAnyDisplaySynchronizedToLockedGenlockSignal |
Gets whether any display is synchronized to a locked external genlock signal. |
| Owns | (Inherited from DisposableObject) |
| SourceClock | (Inherited from CMClockOrTimebase) |
| SourceTimebase | (Inherited from CMClockOrTimebase) |
| Time | (Inherited from CMClockOrTimebase) |
| UltimateSourceClock | (Inherited from CMClockOrTimebase) |
Methods
| Name | Description |
|---|---|
| ClearHandle() | (Inherited from DisposableObject) |
| ConvertHostTimeToSystemUnits(CMTime) | |
| CreateAudioClock(CMClockError) | |
| CreateGenlockClock() |
Creates a clock that follows an external genlock signal when synchronized, or host time otherwise. |
| CreateHostTimeFromSystemUnits(UInt64) | |
| Dispose() |
Releases all resources used by this object. (Inherited from DisposableObject) |
| Dispose(Boolean) |
Releases the resources used by this object. (Inherited from NativeObject) |
| Equals(Object) | (Inherited from DisposableObject) |
| GetAnchorTime(CMTime, CMTime) | |
| GetCheckedHandle() | (Inherited from DisposableObject) |
| GetHashCode() | (Inherited from DisposableObject) |
| GetPreferredStartTimePattern(CMTime, CMTime, CMTime) |
Gets the pattern of preferred start times for synchronization with an external signal. |
| InitializeHandle(NativeHandle) | (Inherited from DisposableObject) |
| Invalidate() | |
| MightDrift(CMClock) | |
| Release() | (Inherited from NativeObject) |
| Retain() | (Inherited from NativeObject) |
Extension Methods
| Name | Description |
|---|---|
| GetHandle(INativeObject) | |
| GetNonNullHandle(INativeObject, String) | |