Lines Matching defs:read_smoother
148 pa_smoother_2 *read_smoother;
150 pa_smoother *read_smoother;
512 pa_assert(u->read_smoother);
543 pa_smoother_2_resume(u->read_smoother, tstamp);
544 pa_smoother_2_put(u->read_smoother, tstamp, u->read_index);
546 pa_smoother_put(u->read_smoother, tstamp, pa_bytes_to_usec(u->read_index, &u->decoder_sample_spec));
547 pa_smoother_resume(u->read_smoother, tstamp, true);
607 if (u->read_smoother) {
609 pa_smoother_2_free(u->read_smoother);
611 pa_smoother_free(u->read_smoother);
613 u->read_smoother = NULL;
770 u->read_smoother = pa_smoother_2_new(5*PA_USEC_PER_SEC, pa_rtclock_now(), pa_frame_size(&u->decoder_sample_spec), u->decoder_sample_spec.rate);
772 u->read_smoother = pa_smoother_new(PA_USEC_PER_SEC, 2*PA_USEC_PER_SEC, true, true, 10, pa_rtclock_now(), true);
843 if (u->read_smoother) {
845 *((int64_t*) data) = u->source->thread_info.fixed_latency - pa_smoother_2_get_delay(u->read_smoother, pa_rtclock_now(), u->read_index);
847 wi = pa_smoother_get(u->read_smoother, pa_rtclock_now());
895 if (u->read_smoother)
897 pa_smoother_2_pause(u->read_smoother, pa_rtclock_now());
899 pa_smoother_pause(u->read_smoother, pa_rtclock_now());
1080 if (u->read_smoother) {
1085 delay = pa_smoother_2_get_delay(u->read_smoother, pa_rtclock_now(), u->write_index + u->write_block_size);
1087 ri = pa_smoother_get(u->read_smoother, pa_rtclock_now());
1839 if (u->read_smoother) {
1841 pa_smoother_2_free(u->read_smoother);
1843 pa_smoother_free(u->read_smoother);
1845 u->read_smoother = NULL;