Searched refs:snd_pcm_uframes_t (Results 1 – 12 of 12) sorted by relevance
/external/adhd/cras/src/server/ |
D | cras_alsa_helpers.h | 104 int cras_alsa_resume_appl_ptr(snd_pcm_t *handle, snd_pcm_uframes_t ahead); 135 snd_pcm_uframes_t *buffer_frames, int period_wakeup, 168 int cras_alsa_get_avail_frames(snd_pcm_t *handle, snd_pcm_uframes_t buf_size, 169 snd_pcm_uframes_t severe_underrun_frames, 171 snd_pcm_uframes_t *avail, 182 int cras_alsa_get_delay_frames(snd_pcm_t *handle, snd_pcm_uframes_t buf_size, 208 uint8_t **dst, snd_pcm_uframes_t *offset, 209 snd_pcm_uframes_t *frames); 220 int cras_alsa_mmap_commit(snd_pcm_t *handle, snd_pcm_uframes_t offset, 221 snd_pcm_uframes_t frames);
|
D | cras_alsa_helpers.c | 264 int cras_alsa_resume_appl_ptr(snd_pcm_t *handle, snd_pcm_uframes_t ahead) in cras_alsa_resume_appl_ptr() 267 snd_pcm_uframes_t period_frames, buffer_frames; in cras_alsa_resume_appl_ptr() 460 snd_pcm_uframes_t *buffer_frames, int period_wakeup, in cras_alsa_set_hwparams() 575 snd_pcm_uframes_t boundary; in cras_alsa_set_swparams() 662 int cras_alsa_get_avail_frames(snd_pcm_t *handle, snd_pcm_uframes_t buf_size, in cras_alsa_get_avail_frames() 663 snd_pcm_uframes_t severe_underrun_frames, in cras_alsa_get_avail_frames() 665 snd_pcm_uframes_t *avail, in cras_alsa_get_avail_frames() 721 int cras_alsa_get_delay_frames(snd_pcm_t *handle, snd_pcm_uframes_t buf_size, in cras_alsa_get_delay_frames() 777 snd_pcm_uframes_t offset; in cras_alsa_mmap_get_whole_buffer() 786 snd_pcm_uframes_t frames = 1; in cras_alsa_mmap_get_whole_buffer() [all …]
|
D | cras_alsa_io.c | 149 snd_pcm_uframes_t mmap_offset; 155 snd_pcm_uframes_t severe_underrun_frames; 285 snd_pcm_uframes_t frames; in frames_queued() 502 snd_pcm_uframes_t nframes = *frames; in get_buffer() 537 snd_pcm_uframes_t nframes; in flush_buffer()
|
D | cras_iodev.h | 237 snd_pcm_uframes_t buffer_size;
|
D | dev_io.c | 380 snd_pcm_uframes_t remainder, hw_level, cap_limit; in capture_to_streams() 619 snd_pcm_uframes_t total_written = 0; in write_output_samples()
|
/external/kernel-headers/original/uapi/sound/ |
D | asound.h | 158 typedef unsigned long snd_pcm_uframes_t; typedef 409 snd_pcm_uframes_t fifo_size; /* R: chip FIFO size in frames */ 423 snd_pcm_uframes_t avail_min; /* min avail frames for wakeup */ 424 snd_pcm_uframes_t xfer_align; /* obsolete: xfer size need to be a multiple */ 425 snd_pcm_uframes_t start_threshold; /* min hw_avail frames for automatic start */ 426 snd_pcm_uframes_t stop_threshold; /* min avail frames for automatic stop */ 427 snd_pcm_uframes_t silence_threshold; /* min distance from noise for silence filling */ 428 snd_pcm_uframes_t silence_size; /* silence block size */ 429 snd_pcm_uframes_t boundary; /* pointers wrap point */ 462 snd_pcm_uframes_t appl_ptr; /* appl ptr */ [all …]
|
/external/adhd/cras/src/tests/ |
D | alsa_helpers_unittest.cc | 15 static snd_pcm_uframes_t snd_pcm_htimestamp_avail_ret_val; 168 snd_pcm_uframes_t used; in TEST() 169 snd_pcm_uframes_t severe_underrun_frames = 480; in TEST() 211 snd_pcm_uframes_t avail; in TEST() 212 snd_pcm_uframes_t severe_underrun_frames = 480; in TEST() 213 snd_pcm_uframes_t buffer_size = 48000; in TEST() 254 snd_pcm_uframes_t *val) { in snd_pcm_sw_params_get_boundary() 260 snd_pcm_uframes_t val) { in snd_pcm_sw_params_set_stop_threshold() 266 snd_pcm_uframes_t val) { in snd_pcm_sw_params_set_start_threshold() 303 int snd_pcm_htimestamp(snd_pcm_t *pcm, snd_pcm_uframes_t *avail, in snd_pcm_htimestamp()
|
D | alsa_io_unittest.cc | 2380 snd_pcm_uframes_t *buffer_size, int period_wakeup, in cras_alsa_set_hwparams() 2389 int cras_alsa_get_avail_frames(snd_pcm_t *handle, snd_pcm_uframes_t buf_size, in cras_alsa_get_avail_frames() 2390 snd_pcm_uframes_t severe_underrun_frames, in cras_alsa_get_avail_frames() 2392 snd_pcm_uframes_t *used, in cras_alsa_get_avail_frames() 2399 int cras_alsa_get_delay_frames(snd_pcm_t *handle, snd_pcm_uframes_t buf_size, in cras_alsa_get_delay_frames() 2406 uint8_t **dst, snd_pcm_uframes_t *offset, in cras_alsa_mmap_begin() 2407 snd_pcm_uframes_t *frames) in cras_alsa_mmap_begin() 2413 int cras_alsa_mmap_commit(snd_pcm_t *handle, snd_pcm_uframes_t offset, in cras_alsa_mmap_commit() 2414 snd_pcm_uframes_t frames) in cras_alsa_mmap_commit() 2988 snd_pcm_uframes_t offset, frames; in cras_alsa_mmap_get_whole_buffer() [all …]
|
/external/webrtc/webrtc/modules/audio_device/linux/ |
D | audio_device_alsa_linux.h | 205 snd_pcm_uframes_t _recordingBuffersizeInFrame; 206 snd_pcm_uframes_t _recordingPeriodSizeInFrame; 207 snd_pcm_uframes_t _playoutBufferSizeInFrame; 208 snd_pcm_uframes_t _playoutPeriodSizeInFrame;
|
/external/webrtc/webrtc/sound/ |
D | alsasoundsystem.cc | 96 snd_pcm_uframes_t Wait() { in Wait() 289 snd_pcm_uframes_t avail = stream_.Wait(); in OnHaveWork() 375 snd_pcm_uframes_t frames = size / stream_.frame_size(); in WriteSamples() 384 } else if (static_cast<snd_pcm_uframes_t>(written) < frames) { in WriteSamples() 419 snd_pcm_uframes_t avail = stream_.Wait(); in OnHaveWork()
|
/external/adhd/cras/src/alsa_plugin/ |
D | pcm_cras.c | 130 snd_pcm_uframes_t copied_frames; in pcm_cras_process_cb() 179 snd_pcm_uframes_t frames = nframes - copied_frames; in pcm_cras_process_cb() 180 snd_pcm_uframes_t remain = io->buffer_size - pcm_cras->hw_ptr; in pcm_cras_process_cb()
|
/external/tinyalsa/ |
D | pcm.c | 455 snd_pcm_uframes_t hw_ptr; in pcm_get_htimestamp()
|