Gst.ControlBinding.prototype.get_g_value_array

function get_g_value_array(timestamp:Gst.ClockTime, interval:Gst.ClockTime, n_values:Number, values:GObject.Value):Boolean {
    // Gjs wrapper for gst_control_binding_get_g_value_array()
}

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 GObject.Value.

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.

timestamp

the time that should be processed

interval

the time spacing between subsequent values

n_values

the number of values

values

array to put control-values in

Returns

true if the given array could be filled, false otherwise