regression algorithm.
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
slave | a time on the slave |
master | a time on the master |
rSquared | a pointer to hold the result |
internal | a location to store the internal time |
external | a location to store the external time |
rateNum | a location to store the rate numerator |
rateDenom | a location to store the rate denominator |
Returns
true if enough observations were added to run the