Lines Matching refs:smoother

59 #include <pulsecore/time-smoother.h>
87 #define SMOOTHER_WINDOW_USEC (15*PA_USEC_PER_SEC) /* 15s -- smoother windows size */
89 #define SMOOTHER_WINDOW_USEC (10*PA_USEC_PER_SEC) /* 10s -- smoother windows size */
90 #define SMOOTHER_ADJUST_USEC (1*PA_USEC_PER_SEC) /* 1s -- smoother adjust time */
92 #define SMOOTHER_MIN_INTERVAL (2*PA_USEC_PER_MSEC) /* 2ms -- min smoother update interval */
93 #define SMOOTHER_MAX_INTERVAL (200*PA_USEC_PER_MSEC) /* 200ms -- max smoother update interval */
169 pa_smoother_2 *smoother;
171 pa_smoother *smoother;
496 /* Reset smoother and counters */
500 pa_smoother_2_reset(u->smoother, pa_rtclock_now());
502 pa_smoother_reset(u->smoother, pa_rtclock_now(), true);
990 /* Let's update the time smoother */
1007 pa_smoother_2_put(u->smoother, now1, position);
1019 pa_smoother_put(u->smoother, now1, now2);
1038 delay = pa_smoother_2_get_delay(u->smoother, now1, u->write_count);
1040 now2 = pa_smoother_get(u->smoother, now1);
1074 pa_smoother_2_pause(u->smoother, pa_rtclock_now());
1076 pa_smoother_pause(u->smoother, pa_rtclock_now());
1875 pa_smoother_2_set_sample_spec(u->smoother, pa_rtclock_now(), &effective_spec);
2012 pa_smoother_2_resume(u->smoother, pa_rtclock_now());
2014 pa_smoother_resume(u->smoother, pa_rtclock_now(), true);
2050 cusec = pa_smoother_2_translate(u->smoother, sleep_usec);
2052 cusec = pa_smoother_translate(u->smoother, pa_rtclock_now(), sleep_usec);
2471 u->smoother = pa_smoother_new(
2692 u->smoother = pa_smoother_2_new(SMOOTHER_WINDOW_USEC, pa_rtclock_now(), frame_size, u->sink->sample_spec.rate);
2705 pa_smoother_2_usb_hack_enable(u->smoother, true, hack_threshold);
2912 if (u->smoother)
2914 pa_smoother_2_free(u->smoother);
2916 pa_smoother_free(u->smoother);