Class: Gst::ControlBinding
- Defined in:
- (unknown)
Overview
The class structure of Gst::ControlBinding.
Direct Known Subclasses
GstController::ARGBControlBinding, GstController::DirectControlBinding, GstController::ProxyControlBinding
Instance Method Summary collapse
-
#disabled=(disabled) ⇒ nil
This function is used to disable a control binding for some time, i.e.
-
#get_g_value_array(timestamp, interval, n_values, values) ⇒ Boolean
Gets a number of #GValues for the given controlled property starting at the requested time.
-
#get_value(timestamp) ⇒ GObject::Value
Gets the value for the given controlled property at the requested time.
-
#get_value_array(timestamp, interval, n_values, values) ⇒ Boolean
Gets a number of values for the given controlled property starting at the requested time.
-
#is_disabled ⇒ Boolean
Checks if the control binding is disabled.
-
#name ⇒ String
Name.
- #name=(name) ⇒ String
-
#object ⇒ Gst::Object
Object.
- #object=(object) ⇒ Gst::Object
-
#sync_values(object, timestamp, last_sync) ⇒ Boolean
Sets the property of the object, according to the Gst::ControlSources that handles it and for the given timestamp.
Methods inherited from Object
#add_control_binding, check_uniqueness, #control_bindings_disabled=, #control_rate, #control_rate=, default_deep_notify, #default_error, #get_control_binding, #has_active_control_bindings, #has_ancestor, #has_as_ancestor, #has_as_parent, #parent, #parent=, #path_string, #ref, ref_sink, #remove_control_binding, replace, #set_control_binding_disabled, #suggest_next_sync, #unparent, #unref
Instance Method Details
#disabled=(disabled) ⇒ nil
This function is used to disable a control binding for some time, i.e. gst_object_sync_values() will do nothing. or not.
#get_g_value_array(timestamp, interval, n_values, values) ⇒ Boolean
Gets a number of #GValues for the given controlled property starting at the requested time. The array values need to hold enough space for n_values of #GValue.
This function is useful if one wants to e.g. draw a graph of the control curve or apply a control curve sample by sample.
#get_value(timestamp) ⇒ GObject::Value
Gets the value for the given controlled property at the requested time. or nil if the property isn't controlled.
#get_value_array(timestamp, interval, n_values, values) ⇒ Boolean
Gets a number of values for the given controlled property starting at the requested time. The array values needs to hold enough space for n_values of the same type as the objects property's type.
This function is useful if one wants to e.g. draw a graph of the control curve or apply a control curve sample by sample.
The values are unboxed and ready to be used. The similar function gst_control_binding_get_g_value_array() returns the array as #GValues and is more suitable for bindings.
#is_disabled ⇒ Boolean
Checks if the control binding is disabled.
#name ⇒ String
Returns name.
#name=(name) ⇒ String
#object ⇒ Gst::Object
Returns object.
#object=(object) ⇒ Gst::Object
#sync_values(object, timestamp, last_sync) ⇒ Boolean
Sets the property of the object, according to the Gst::ControlSources that handles it and for the given timestamp.
If this function fails, it is most likely the application developers fault. Most probably the control sources are not setup correctly. property, false otherwise