Class: Gst::ControlSource

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Overview

The class structure of Gst::ControlSource.

Instance Method Summary collapse

Methods inherited from Object

#add_control_binding, check_uniqueness, #control_bindings_disabled=, #control_rate, #control_rate=, default_deep_notify, #default_error, #get_control_binding, #get_g_value_array, #get_value, #get_value_array, #has_active_control_bindings, #has_ancestor, #has_as_ancestor, #has_as_parent, #name, #name=, #parent, #parent=, #path_string, #ref, ref_sink, #remove_control_binding, replace, #set_control_binding_disabled, #suggest_next_sync, #sync_values, #unparent, #unref

Instance Method Details

#control_source_get_value(timestamp, value) ⇒ Boolean

Gets the value for this Gst::ControlSource at a given timestamp.

Parameters:

  • timestamp (Gst::ClockTime)

    the time for which the value should be returned

  • value (Float)

    the value

Returns:

  • (Boolean)

    false if the value couldn't be returned, true otherwise.

#control_source_get_value_array(timestamp, interval, n_values, values) ⇒ Boolean

Gets an array of values for for this Gst::ControlSource. Values that are undefined contain NANs.

Parameters:

  • timestamp (Gst::ClockTime)

    the first timestamp

  • interval (Gst::ClockTime)

    the time steps

  • n_values (Integer)

    the number of values to fetch

  • values (Array<Float>)

    array to put control-values in

Returns:

  • (Boolean)

    true if the given array could be filled, false otherwise