Home
last modified time | relevance | path

Searched refs:avail_frames (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/webrtc/modules/audio_device/linux/
Daudio_device_alsa_linux.cc1986 snd_pcm_sframes_t avail_frames; in PlayThreadProcess() local
1990 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 …]
/external/adhd/cras/src/server/
Dcras_alsa_helpers.c268 snd_pcm_sframes_t to_move, avail_frames; in cras_alsa_resume_appl_ptr() local
272 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()
Dcras_loopback_iodev.c203 unsigned int avail_frames = buf_readable(sbuf) / frame_bytes; in get_record_buffer() local
205 *frames = MIN(avail_frames, *frames); in get_record_buffer()