= class Gst::Clock
Abstract class for global clocks.


== Instance Methods
--- == aClockObject 
    Checks if two Gst::Clock objects are synchronized on the same time.

--- active? 
    Checks if the clock is active.

--- can_do_periodic_async? 
    Checks if the Gst::Element::FLAG_CAN_DO_PERIODIC_ASYNC flag is set on the 
    object.

--- can_do_periodic_sync? 
    Checks if the Gst::Element::FLAG_CAN_DO_PERIODIC_SYNC flag is set on the 
    object.

--- can_do_single_async? 
    Checks if the Gst::Element::FLAG_CAN_DO_SINGLE_ASYNC flag is set on the 
    object.

--- can_do_single_sync? 
    Checks if the Gst::Element::FLAG_CAN_DO_SINGLE_SYNC flag is set on the 
    object.

--- can_set_resolution? 
    Checks if the Gst::Element::FLAG_CAN_SET_RESOLUTION flag is set on the 
    object.

--- can_set_speed? 
    Checks if the Gst::Element::FLAG_CAN_SET_SPEED flag is set on the 
    object.

--- handle_discont(aBignum) 
    Notifies the clock of a discontinuity in time (nanoseconds).
    Returns true if the clock was updated, otherwise false. 
    It is possible that the clock was not updated by this call because only 
    the first discontinuitity in the pipeline is honoured.

--- reset! 
    Reset the clock to time 0.

--- resolution 
    Gets the accuracy of the clock, as a Bignum.

--- set_active(aBoolean) 
    Activates or deactivates the clock based on the active parameter. 
    As soon as the clock is activated, the time will start ticking.

--- set_resolution(resolution) 
    Sets the accuracy of the clock, as a Bignum.

--- set_speed(speed) 
    Sets the speed of the clock, as a Fixnum or a Float.
    1.0 is default speed.

--- speed 
    Gets the speed of the clock.  
    The returned value can be either a Fixnum or a Float.

--- time 
    Gets the time of the clock (in nanoseconds), as a Bignum.


== Constants
--- EARLY
    The operation was scheduled too late.

--- ERROR
    An error occured.

--- FLAG_CAN_DO_PERIODIC_ASYNC
    This clock can do async periodic timeout callbacks.

--- FLAG_CAN_DO_PERIODIC_SYNC
    This clock can do sync periodic timeout requests.

--- FLAG_CAN_DO_SET_RESOLUTION
    The resolution of this clock can be changed.

--- FLAG_CAN_DO_SET_SPEED
    The speed of this clock can be changed.

--- FLAG_CAN_DO_SINGLE_ASYNC
    This clock can do a single async timeout request.

--- FLAG_CAN_DO_SINGLE_SYNC
    This clock can do a single sync timeout request.

--- STOPPED
    The clock is stopped.

--- TIMEOUT
    The operation timed out.

--- UNSUPPORTED
    Operation is not supported.


== Properties
--- max-diff: Integer (Read/Write)
    The maximum amount of time to wait in nanoseconds.

--- stats: true or false (Read/Write)
    Enable clock stats.


- ((<lrz>))
