AudioClock.this

Create a new #GstAudioClock instance. Whenever the clock time should be calculated it will call func with user_data. When func returns #GST_CLOCK_TIME_NONE, the clock will return the last reported time.

  1. this(void* ptr, Flag!"Take" take)
  2. this(string name, gstaudio.types.AudioClockGetTimeFunc func)
    class AudioClock

Parameters

name string

the name of the clock

func gstaudio.types.AudioClockGetTimeFunc

a function

Return Value

a new #GstAudioClock casted to a #GstClock.