Gst.Object.prototype.set_control_rate
function set_control_rate(control_rate:Gst.ClockTime):void { // Gjs wrapper for gst_object_set_control_rate() }
Change 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.
The control-rate should not change if the element is in Gst.State.paused or Gst.State.playing.
- control_rate
the new control-rate in nanoseconds.