Home
last modified time | relevance | path

Searched refs:snd_pcm_sframes_t (Results 1 – 11 of 11) sorted by relevance

/external/adhd/cras/src/server/
Dcras_alsa_helpers.c267 snd_pcm_sframes_t to_move, avail_frames; in cras_alsa_resume_appl_ptr()
675 snd_pcm_sframes_t frames; in cras_alsa_get_avail_frames()
697 } else if (frames >= (snd_pcm_sframes_t)buf_size) { in cras_alsa_get_avail_frames()
711 if ((frames - (snd_pcm_sframes_t)buf_size) > in cras_alsa_get_avail_frames()
712 (snd_pcm_sframes_t)severe_underrun_frames) { in cras_alsa_get_avail_frames()
730 snd_pcm_sframes_t *delay) in cras_alsa_get_delay_frames()
737 if (*delay > (snd_pcm_sframes_t)buf_size) in cras_alsa_get_delay_frames()
825 snd_pcm_sframes_t res; in cras_alsa_mmap_commit()
828 if (res != (snd_pcm_sframes_t)frames) { in cras_alsa_mmap_commit()
Dcras_alsa_helpers.h187 snd_pcm_sframes_t *delay);
Daudio_thread.c1151 snd_pcm_sframes_t written; in write_output_samples()
1209 if (written < (snd_pcm_sframes_t)frames) in write_output_samples()
Dcras_alsa_io.c281 snd_pcm_sframes_t delay; in delay_frames()
/external/webrtc/webrtc/sound/
Dalsasoundsystem.cc97 snd_pcm_sframes_t frames; in Wait()
143 snd_pcm_sframes_t delay; in CurrentDelayUsecs()
299 snd_pcm_sframes_t read = stream_.symbol_table()->snd_pcm_readi()( in OnHaveWork()
376 snd_pcm_sframes_t written = stream_.symbol_table()->snd_pcm_writei()( in WriteSamples()
/external/kernel-headers/original/uapi/sound/
Dasound.h159 typedef signed long snd_pcm_sframes_t; typedef
454 snd_pcm_sframes_t delay; /* current delay in frames */
497 snd_pcm_sframes_t result;
503 snd_pcm_sframes_t result;
574 #define SNDRV_PCM_IOCTL_DELAY _IOR('A', 0x21, snd_pcm_sframes_t)
/external/webrtc/webrtc/modules/audio_device/linux/
Daudio_device_alsa_linux.h235 snd_pcm_sframes_t _recordingDelay;
236 snd_pcm_sframes_t _playoutDelay;
Daudio_device_alsa_linux.cc1985 snd_pcm_sframes_t frames; in PlayThreadProcess()
1986 snd_pcm_sframes_t avail_frames; in PlayThreadProcess()
2060 snd_pcm_sframes_t frames; in RecThreadProcess()
2061 snd_pcm_sframes_t avail_frames; in RecThreadProcess()
/external/adhd/cras/src/alsa_plugin/
Dpcm_cras.c109 static snd_pcm_sframes_t snd_pcm_cras_pointer(snd_pcm_ioplug_t *io) in snd_pcm_cras_pointer()
303 static int snd_pcm_cras_delay(snd_pcm_ioplug_t *io, snd_pcm_sframes_t *delayp) in snd_pcm_cras_delay()
/external/adhd/cras/src/tests/
Dalsa_helpers_unittest.cc314 snd_pcm_sframes_t snd_pcm_avail(snd_pcm_t *pcm) { in snd_pcm_avail()
Dalsa_io_unittest.cc2233 snd_pcm_sframes_t *delay) in cras_alsa_get_delay_frames()