Searched refs:fr_to_write (Results 1 – 2 of 2) sorted by relevance
75 unsigned int hw_level, fr_to_write; in default_no_stream_playback() local100 fr_to_write = cras_iodev_buffer_avail(odev, hw_level); in default_no_stream_playback()102 fr_to_write = MIN(target_hw_level - hw_level, fr_to_write); in default_no_stream_playback()103 return cras_iodev_fill_odev_zeros(odev, fr_to_write); in default_no_stream_playback()
1898 unsigned int real_hw_level, fr_to_write; in possibly_enter_free_run() local1931 fr_to_write = MIN(cras_time_to_frames(&no_stream_fill_zeros_duration, in possibly_enter_free_run()1934 rc = cras_iodev_fill_odev_zeros(odev, fr_to_write); in possibly_enter_free_run()1937 aio->filled_zeros_for_draining += fr_to_write; in possibly_enter_free_run()