Lines Matching refs:rate_est
501 if (!iodev->rate_est) in cras_iodev_set_format()
502 iodev->rate_est = rate_estimator_create( in cras_iodev_set_format()
506 rate_estimator_reset_rate(iodev->rate_est, actual_rate); in cras_iodev_set_format()
648 rate_estimator_destroy(iodev->rate_est); in cras_iodev_free_resources()
1070 rate_estimator_add_frames(iodev->rate_est, -min_frames); in cras_iodev_put_input_buffer()
1173 if (iodev->rate_est) in cras_iodev_put_output_buffer()
1174 rate_estimator_add_frames(iodev->rate_est, nframes); in cras_iodev_put_output_buffer()
1256 rate_estimator_reset_rate(iodev->rate_est, in cras_iodev_update_rate()
1259 return rate_estimator_check(iodev->rate_est, level, level_tstamp); in cras_iodev_update_rate()
1264 rate_estimator_reset_rate(iodev->rate_est, iodev->format->frame_rate); in cras_iodev_reset_rate_estimator()
1270 return rate_estimator_get_rate(iodev->rate_est) / in cras_iodev_get_est_rate_ratio()
1687 rate_estimator_add_frames(iodev->rate_est, -frames); in cras_iodev_drop_frames()