Searched refs:rate_est (Results 1 – 2 of 2) sorted by relevance
496 if (!iodev->rate_est) in cras_iodev_set_format()497 iodev->rate_est = rate_estimator_create( in cras_iodev_set_format()502 rate_estimator_reset_rate(iodev->rate_est, actual_rate); in cras_iodev_set_format()629 rate_estimator_destroy(iodev->rate_est); in cras_iodev_free_resources()1001 rate_estimator_add_frames(iodev->rate_est, -min_frames); in cras_iodev_put_input_buffer()1081 rate_estimator_add_frames(iodev->rate_est, nframes); in cras_iodev_put_output_buffer()1167 rate_estimator_reset_rate(iodev->rate_est, in cras_iodev_update_rate()1170 return rate_estimator_check(iodev->rate_est, level, level_tstamp); in cras_iodev_update_rate()1175 rate_estimator_reset_rate(iodev->rate_est, in cras_iodev_reset_rate_estimator()1182 return rate_estimator_get_rate(iodev->rate_est) / in cras_iodev_get_est_rate_ratio()
228 struct rate_estimator *rate_est; member