Searched refs:avail_frames (Results 1 – 3 of 3) sorted by relevance
1986 snd_pcm_sframes_t avail_frames; in PlayThreadProcess() local1990 avail_frames = LATE(snd_pcm_avail_update)(_handlePlayout); in PlayThreadProcess()1991 if (avail_frames < 0) in PlayThreadProcess()1995 LATE(snd_strerror)(avail_frames)); in PlayThreadProcess()1996 ErrorRecovery(avail_frames, _handlePlayout); in PlayThreadProcess()2000 else if (avail_frames == 0) in PlayThreadProcess()2025 if (static_cast<uint32_t>(avail_frames) > _playoutFramesLeft) in PlayThreadProcess()2026 avail_frames = _playoutFramesLeft; in PlayThreadProcess()2033 avail_frames); in PlayThreadProcess()2046 assert(frames==avail_frames); in PlayThreadProcess()[all …]
268 snd_pcm_sframes_t to_move, avail_frames; in cras_alsa_resume_appl_ptr() local272 avail_frames = 0; in cras_alsa_resume_appl_ptr()278 avail_frames = rc; in cras_alsa_resume_appl_ptr()288 to_move = avail_frames - buffer_frames + ahead; in cras_alsa_resume_appl_ptr()
203 unsigned int avail_frames = buf_readable(sbuf) / frame_bytes; in get_record_buffer() local205 *frames = MIN(avail_frames, *frames); in get_record_buffer()