1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
5 Abstract class for global clocks
7 <!-- ##### SECTION Long_Description ##### -->
12 <!-- ##### SECTION See_Also ##### -->
17 <!-- ##### TYPEDEF GstClockTime ##### -->
19 A datatype to hold a time, measured in microseconds.
23 <!-- ##### TYPEDEF GstClockTimeDiff ##### -->
25 A datatype to hold a timedifference, measured in microseconds.
29 <!-- ##### USER_FUNCTION GstClockCallback ##### -->
31 The function prototype of the callback.
34 @clock: The clock that triggered the callback
35 @time: The time it was triggered
36 @id: The id that expired
37 @user_data: user data passed in the async_wait call
40 <!-- ##### TYPEDEF GstClockID ##### -->
42 A detatype to hold the handle to an outstanding async clock callback
46 <!-- ##### ENUM GstClockReturn ##### -->
48 The return value of a clock operation.
51 @GST_CLOCK_STOPPED: The clock is stopped.
52 @GST_CLOCK_TIMEOUT: The operation timed out.
53 @GST_CLOCK_EARLY: The operation was scheduled too late.
54 @GST_CLOCK_ERROR: An error occured
56 <!-- ##### MACRO GST_CLOCK_DIFF ##### -->
58 Calculate a difference between to clock times.
65 <!-- ##### MACRO GST_TIMEVAL_TO_TIME ##### -->
67 Convert a GTimeVal to a GstClockTime
70 @tv: the timeval to convert
73 <!-- ##### STRUCT GstClock ##### -->
75 The opaque data structure of the clock.
79 <!-- ##### FUNCTION gst_clock_activate ##### -->
88 <!-- ##### FUNCTION gst_clock_is_active ##### -->
97 <!-- ##### FUNCTION gst_clock_async_supported ##### -->
106 <!-- ##### FUNCTION gst_clock_wait_async ##### -->
118 <!-- ##### FUNCTION gst_clock_cancel_wait_async ##### -->
127 <!-- ##### FUNCTION gst_clock_notify_async ##### -->
139 <!-- ##### FUNCTION gst_clock_remove_notify_async ##### -->
148 <!-- ##### FUNCTION gst_clock_unlock_id ##### -->
157 <!-- ##### FUNCTION gst_clock_wait_id ##### -->
167 <!-- ##### FUNCTION gst_clock_get_next_id ##### -->
176 <!-- ##### FUNCTION gst_clock_get_time ##### -->
185 <!-- ##### FUNCTION gst_clock_id_get_time ##### -->
194 <!-- ##### FUNCTION gst_clock_get_resolution ##### -->
203 <!-- ##### FUNCTION gst_clock_set_resolution ##### -->
212 <!-- ##### FUNCTION gst_clock_set_speed ##### -->
221 <!-- ##### FUNCTION gst_clock_get_speed ##### -->
228 <!-- # Unused Parameters # -->
232 <!-- ##### FUNCTION gst_clock_reset ##### -->
240 <!-- ##### FUNCTION gst_clock_wait ##### -->