Home
last modified time | relevance | path

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

/external/webrtc/modules/audio_device/linux/
Daudio_device_alsa_linux.cc1478 snd_pcm_sframes_t avail_frames; in PlayThreadProcess() local
1482 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 …]
/external/adhd/cras/src/server/
Dcras_loopback_iodev.c220 unsigned int avail_frames = buf_readable(sbuf) / frame_bytes; in get_record_buffer() local
222 ATLOG(atlog, AUDIO_THREAD_LOOPBACK_GET, *frames, avail_frames, 0); in get_record_buffer()
224 *frames = MIN(avail_frames, *frames); in get_record_buffer()
Dcras_alsa_helpers.c247 snd_pcm_sframes_t to_move, avail_frames; in cras_alsa_resume_appl_ptr() local
251 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()