Gst.Object.prototype.get_control_rate
function get_control_rate():Gst.ClockTime { // Gjs wrapper for gst_object_get_control_rate() }
Obtain the control-rate for this object. Audio processing Gst.Element objects will use this rate to sub-divide their processing loop and call Gst.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 %GST_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 Gst.State.paused or Gst.State.playing.
- Returns
the control rate in nanoseconds