Gst.Object.prototype.get_value_array

function get_value_array(property_name:String, timestamp:Gst.ClockTime, interval:Gst.ClockTime, n_values:Number, values:gpointer):Boolean {
    // Gjs wrapper for gst_object_get_value_array()
}

Gets a number of values for the given controlled property starting at the requested time. The array values need 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.Object.prototype.get_g_value_array returns the array as #GValues and is better suites for bindings.

property_name

the name of the property to get

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