Searched refs:estimated_rate (Results 1 – 1 of 1) sorted by relevance
109 double estimated_rate; member278 double estimated_rate, alpha = 0.02; in rtpoll_work_cb() local331 …estimated_rate = (double) current_rate * (double) RATE_UPDATE_INTERVAL / (double) (RATE_UPDATE_INT… in rtpoll_work_cb()332 if (fabs(s->estimated_rate - s->avg_estimated_rate) > 1) { in rtpoll_work_cb()333 …double ratio = (estimated_rate + s->estimated_rate - 2*s->avg_estimated_rate) / (s->estimated_rate… in rtpoll_work_cb()336 s->avg_estimated_rate = alpha * estimated_rate + (1-alpha) * s->avg_estimated_rate; in rtpoll_work_cb()337 s->estimated_rate = estimated_rate; in rtpoll_work_cb()338 …Estimated target rate: %.0f Hz, using average of %.0f Hz (α=%.3f)", estimated_rate, s->avg_estima… in rtpoll_work_cb()537 s->estimated_rate = (double) s->sink_input->sample_spec.rate; in session_new()