-
public weak Controller object_control_properties (Object object, ...)
Convenience function for GObject Creates a GstController that allows you to dynamically control one,
or more, GObject properties. If the given GObject already has a GstController, it adds the given properties to the existing
controller and returns that controller. one or more of the given properties aren't available, or cannot be controlled, for the given
element.
-
public ClockTime object_get_control_rate (Object object)
Obtain the control-rate for this object. Audio processing
Element objects will use this rate to sub-divide their
processing loop and call object_sync_values inbetween. The length of the
processing segment should be up to control-rate nanoseconds. If the object is not under property control,
this will return CLOCK_TIME_NONE. This allows the element
to avoid the sub-dividing. The control-rate is not expected to change if the element is in
PAUSED or
PLAYING.
-
public weak ControlSource object_get_control_source (Object object, string property_name)
Gets the corresponding ControlSource for the
property. This should be unreferenced again after use. controlled by this controller or no
ControlSource was assigned yet.
-
public weak Controller object_get_controller (Object object)
Gets the controller for the given GObject
-
public bool object_get_value_array (Object object, ClockTime timestamp, ValueArray value_array)
Function to be able to get an array of values for one element properties If the GstValueArray->
values array is NULL, it will be created by the function. The type of the values in the array are the same as the property's type.
The g_object_* functions are just convenience functions for GObject
-
public bool object_get_value_arrays (Object object, ClockTime timestamp, SList<ValueArray> value_arrays)
Function to be able to get an array of values for one or more given element properties. If the
GstValueArray->values array in list nodes is NULL, it will be created by the function. The type of the values in the array are
the same as the property's type. The g_object_* functions are just convenience functions for GObject
-
public void object_set_control_rate (Object object, ClockTime control_rate)
Change the control-rate for this object. Audio processing
Element objects will use this rate to sub-divide their
processing loop and call object_sync_values inbetween. The length of the
processing segment should be up to control-rate nanoseconds. The control-rate should not change if the element is in
PAUSED or
PLAYING.
-
public bool object_set_control_source (Object object, string property_name, ControlSource csource)
Sets the ControlSource for property_name
. If there already was a ControlSource for this property it will be
unreferenced. couldn't be bound to the property, true if everything worked as expected.
-
public bool object_set_controller (Object object, Controller controller)
Sets the controller on the given GObject
-
public ClockTime object_suggest_next_sync (Object object)
Convenience function for GObject
-
public bool object_sync_values (Object object, ClockTime timestamp)
Convenience function for GObject
-
public bool object_uncontrol_properties (Object object, ...)
Convenience function for GObject Removes the given element's properties from it's controller
controller, true otherwise