Lines Matching refs:smoother
202 s->smoother = NULL;
309 if (s->smoother)
311 pa_smoother_2_free(s->smoother);
313 pa_smoother_free(s->smoother);
465 if (!s->smoother)
479 pa_smoother_2_pause(s->smoother, x);
481 pa_smoother_pause(s->smoother, x);
502 pa_smoother_2_resume(s->smoother, x);
504 pa_smoother_resume(s->smoother, x, true);
1153 pa_smoother_2_set_sample_spec(s->smoother, pa_rtclock_now(), &s->sample_spec);
1289 pa_assert(!s->smoother);
1291 s->smoother = pa_smoother_2_new(SMOOTHER_HISTORY_TIME, x, 0, 0);
1293 s->smoother = pa_smoother_new(
1975 /* Update smoother if we're not corked */
1976 if (o->stream->smoother && !o->stream->corked) {
1997 pa_smoother_2_pause(o->stream->smoother, x);
1999 pa_smoother_pause(o->stream->smoother, x);
2002 /* Update the smoother */
2006 pa_smoother_2_put(o->stream->smoother, u, calc_bytes(o->stream, true));
2008 pa_smoother_put(o->stream->smoother, u, calc_time(o->stream, true));
2013 pa_smoother_2_resume(o->stream->smoother, x);
2015 pa_smoother_resume(o->stream->smoother, x, true);
2407 * underflow message and update the smoother status*/
2538 if (s->smoother)
2540 usec = pa_smoother_2_get(s->smoother, pa_rtclock_now());
2542 usec = pa_smoother_get(s->smoother, pa_rtclock_now());
2866 if (o->stream->smoother)
2867 pa_smoother_2_set_rate(o->stream->smoother, pa_rtclock_now(), o->stream->sample_spec.rate);