Home
last modified time | relevance | path

Searched refs:frames_avail (Results 1 – 2 of 2) sorted by relevance

/external/adhd/cras/src/server/
Ddev_stream.c435 unsigned int frames_avail; in dev_stream_capture_avail() local
446 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()
/external/adhd/cras/src/tests/
Daudio_thread_unittest_obsolete.cc2150 unsigned int frames_avail; in dev_stream_capture_avail() local
2154 cras_shm_get_writeable_frames(shm, cb_threshold, &frames_avail); in dev_stream_capture_avail()
2156 return frames_avail; in dev_stream_capture_avail()