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 |
|---|---|
| CurrentTime | |
| Handle | (Inherited from DisposableObject) |
| HostTimeClock | |
| 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) | |
| CreateHostTimeFromSystemUnits(UInt64) | |
| Dispose() | (Inherited from DisposableObject) |
| Dispose(Boolean) | (Inherited from NativeObject) |
| Equals(Object) | (Inherited from DisposableObject) |
| GetAnchorTime(CMTime, CMTime) | |
| GetCheckedHandle() | (Inherited from DisposableObject) |
| GetHashCode() | (Inherited from DisposableObject) |
| 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) | |