Clock


Description:

[ CCode ( has_construct_function = false , type = "GstClock*" ) ]
public Clock (string name, owned ClockGetTimeFunc func)

Create a new Clock instance.

Whenever the clock time should be calculated it will call func with user_data. When func returns CLOCK_TIME_NONE, the clock will return the last reported time.

Parameters:

name

the name of the clock

func

a function

destroy_notify

DestroyNotify for user_data

user_data

user data

Returns:

a new Clock casted to a Clock.