if (rate_adjustment_policy == ADJUST_RATE && (a0.good_sample || a1.good_sample)) {
// Estimate the current number of input samples produced at
// this instant in time, by extrapolating from the last known
// good point. Note that we could be extrapolating backward or
// forward, depending on the timing of the calls.
const InputPoint &base_point = a1.good_sample ? a1 : a0;
if (rate_adjustment_policy == ADJUST_RATE && (a0.good_sample || a1.good_sample)) {
// Estimate the current number of input samples produced at
// this instant in time, by extrapolating from the last known
// good point. Note that we could be extrapolating backward or
// forward, depending on the timing of the calls.
const InputPoint &base_point = a1.good_sample ? a1 : a0;