gst.system_clock

Module for [SystemClock] class

Types 3

The GStreamer core provides a GstSystemClock based on the system time. Asynchronous callbacks are scheduled from an internal thread.

Clock implementors are encouraged to subclass this systemclock as it implements the async notification.

Subclasses can however override all of the important methods for sync and async notifications to implement their own callback methods or blocking wait operations.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
SystemClock self() nothrowReturns `this`, for use in `with` statements.
SystemClockGidBuilder builder() static nothrowGet builder for [gst.system_clock.SystemClock] Returns: New builder object
gst.types.ClockType clockType() @property nothrow
void clockType(gst.types.ClockType propval) @property nothrow
gst.clock.Clock obtain() static nothrowGet a handle to the default system clock. The refcount of the clock will be increased so you need to unref the clock after usage. Returns: the default clock.
void setDefault(gst.clock.Clock newClock = null) static nothrowSets the default system clock that can be obtained with [gst.system_clock.SystemClock.obtain].
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder implementation template for gst.system_clock.SystemClock

Methods
T clockType(gst.types.ClockType propval) nothrow

Fluent builder for gst.system_clock.SystemClock

Methods
SystemClock build() nothrowCreate object from builder. Returns: New object