Searched refs:frames_avail (Results 1 – 2 of 2) sorted by relevance
435 unsigned int frames_avail; in dev_stream_capture_avail() local446 cras_shm_get_writeable_frames(shm, wlimit, &frames_avail); in dev_stream_capture_avail()449 return frames_avail; in dev_stream_capture_avail()457 if (frames_avail <= conv_buf_level) in dev_stream_capture_avail()460 frames_avail -= conv_buf_level; in dev_stream_capture_avail()462 frames_avail = in dev_stream_capture_avail()463 MIN(frames_avail, in dev_stream_capture_avail()466 return cras_fmt_conv_out_frames_to_in(dev_stream->conv, frames_avail); in dev_stream_capture_avail()
2150 unsigned int frames_avail; in dev_stream_capture_avail() local2154 cras_shm_get_writeable_frames(shm, cb_threshold, &frames_avail); in dev_stream_capture_avail()2156 return frames_avail; in dev_stream_capture_avail()