Searched refs:avail_frames (Results 1 – 3 of 3) sorted by relevance
1478 snd_pcm_sframes_t avail_frames; in PlayThreadProcess() local1482 avail_frames = LATE(snd_pcm_avail_update)(_handlePlayout); in PlayThreadProcess()1483 if (avail_frames < 0) { in PlayThreadProcess()1485 << LATE(snd_strerror)(avail_frames); in PlayThreadProcess()1486 ErrorRecovery(avail_frames, _handlePlayout); in PlayThreadProcess()1489 } else if (avail_frames == 0) { in PlayThreadProcess()1510 if (static_cast<uint32_t>(avail_frames) > _playoutFramesLeft) in PlayThreadProcess()1511 avail_frames = _playoutFramesLeft; in PlayThreadProcess()1516 avail_frames); in PlayThreadProcess()1526 assert(frames == avail_frames); in PlayThreadProcess()[all …]
220 unsigned int avail_frames = buf_readable(sbuf) / frame_bytes; in get_record_buffer() local222 ATLOG(atlog, AUDIO_THREAD_LOOPBACK_GET, *frames, avail_frames, 0); in get_record_buffer()224 *frames = MIN(avail_frames, *frames); in get_record_buffer()
247 snd_pcm_sframes_t to_move, avail_frames; in cras_alsa_resume_appl_ptr() local251 avail_frames = 0; in cras_alsa_resume_appl_ptr()257 avail_frames = rc; in cras_alsa_resume_appl_ptr()267 to_move = avail_frames - buffer_frames + ahead; in cras_alsa_resume_appl_ptr()