ObjectWrap.getControlRate

gst.types.ClockTime getControlRate()

Obtain the control-rate for this object. Audio processing #GstElement objects will use this rate to sub-divide their processing loop and call [gst.object.ObjectWrap.syncValues] in between. 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.types.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.types.State.Paused] or [gst.types.State.Playing].

Returns

the control rate in nanoseconds