Klasse SystemClock

Alle implementierten Schnittstellen:
PointerInterface

public class SystemClock extends Clock
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.

https://gstreamer.freedesktop.org/documentation/gstreamer/gi-index.html

  • Konstruktordetails

  • Methodendetails

    • getClassHandler

      public static ClassHandler getClassHandler()
    • obtain

      public static Clock obtain()
      Get a handle to the default system clock. The refcount of the
      clock will be increased so you need to unref the clock after
      usage.
      Gibt zurück:
      the default clock. MT safe.
    • setDefault

      public static void setDefault(@Nullable Clock new_clock)
      Sets the default system clock that can be obtained with
      gst_system_clock_obtain().

      This is mostly used for testing and debugging purposes when you
      want to have control over the time reported by the default system
      clock.

      MT safe.
      Parameter:
      new_clock - a #GstClock
    • getTypeID

      public static long getTypeID()
    • getParentTypeID

      public static long getParentTypeID()
    • getTypeSize

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()