Clock.addObservationUnapplied

bool addObservationUnapplied(gst.types.ClockTime slave, gst.types.ClockTime master, out double rSquared, out gst.types.ClockTime internal, out gst.types.ClockTime external, out gst.types.ClockTime rateNum, out gst.types.ClockTime rateDenom)

Add a clock observation to the internal slaving algorithm the same as [gst.clock.Clock.addObservation], and return the result of the master clock estimation, without updating the internal calibration.

The caller can then take the results and call [gst.clock.Clock.setCalibration] with the values, or some modified version of them.

Parameters

slavea time on the slave
mastera time on the master
rSquareda pointer to hold the result
internala location to store the internal time
externala location to store the external time
rateNuma location to store the rate numerator
rateDenoma location to store the rate denominator

Returns

true if enough observations were added to run the

regression algorithm.