Home
last modified time | relevance | path

Searched refs:snd_pcm_uframes_t (Results 1 – 12 of 12) sorted by relevance

/external/adhd/cras/src/server/
Dcras_alsa_helpers.h101 int cras_alsa_resume_appl_ptr(snd_pcm_t *handle, snd_pcm_uframes_t ahead);
132 snd_pcm_uframes_t *buffer_frames, int period_wakeup,
165 int cras_alsa_get_avail_frames(snd_pcm_t *handle, snd_pcm_uframes_t buf_size,
166 snd_pcm_uframes_t severe_underrun_frames,
167 const char *dev_name, snd_pcm_uframes_t *avail,
178 int cras_alsa_get_delay_frames(snd_pcm_t *handle, snd_pcm_uframes_t buf_size,
204 uint8_t **dst, snd_pcm_uframes_t *offset,
205 snd_pcm_uframes_t *frames);
216 int cras_alsa_mmap_commit(snd_pcm_t *handle, snd_pcm_uframes_t offset,
217 snd_pcm_uframes_t frames);
Dcras_alsa_helpers.c240 int cras_alsa_resume_appl_ptr(snd_pcm_t *handle, snd_pcm_uframes_t ahead) in cras_alsa_resume_appl_ptr()
243 snd_pcm_uframes_t period_frames, buffer_frames; in cras_alsa_resume_appl_ptr()
434 snd_pcm_uframes_t *buffer_frames, int period_wakeup, in cras_alsa_set_hwparams()
549 snd_pcm_uframes_t boundary; in cras_alsa_set_swparams()
634 int cras_alsa_get_avail_frames(snd_pcm_t *handle, snd_pcm_uframes_t buf_size, in cras_alsa_get_avail_frames()
635 snd_pcm_uframes_t severe_underrun_frames, in cras_alsa_get_avail_frames()
636 const char *dev_name, snd_pcm_uframes_t *avail, in cras_alsa_get_avail_frames()
692 int cras_alsa_get_delay_frames(snd_pcm_t *handle, snd_pcm_uframes_t buf_size, in cras_alsa_get_delay_frames()
748 snd_pcm_uframes_t offset; in cras_alsa_mmap_get_whole_buffer()
757 snd_pcm_uframes_t frames = 1; in cras_alsa_mmap_get_whole_buffer()
[all …]
Dcras_alsa_io.c160 snd_pcm_uframes_t mmap_offset;
166 snd_pcm_uframes_t severe_underrun_frames;
306 snd_pcm_uframes_t frames; in frames_queued()
516 snd_pcm_uframes_t nframes = *frames; in get_buffer()
546 snd_pcm_uframes_t nframes; in flush_buffer()
1712 snd_pcm_uframes_t ahead; in adjust_appl_ptr_for_leaving_free_run()
1725 snd_pcm_uframes_t ahead; in adjust_appl_ptr_for_underrun()
Dcras_iodev.h278 snd_pcm_uframes_t buffer_size;
Ddev_io.c449 snd_pcm_uframes_t remainder, hw_level, cap_limit; in capture_to_streams()
698 snd_pcm_uframes_t total_written = 0; in write_output_samples()
/external/kernel-headers/original/uapi/sound/
Dasound.h159 typedef unsigned long snd_pcm_uframes_t; typedef
410 snd_pcm_uframes_t fifo_size; /* R: chip FIFO size in frames */
424 snd_pcm_uframes_t avail_min; /* min avail frames for wakeup */
425 snd_pcm_uframes_t xfer_align; /* obsolete: xfer size need to be a multiple */
426 snd_pcm_uframes_t start_threshold; /* min hw_avail frames for automatic start */
427 snd_pcm_uframes_t stop_threshold; /* min avail frames for automatic stop */
428 snd_pcm_uframes_t silence_threshold; /* min distance from noise for silence filling */
429 snd_pcm_uframes_t silence_size; /* silence block size */
430 snd_pcm_uframes_t boundary; /* pointers wrap point */
463 snd_pcm_uframes_t appl_ptr; /* appl ptr */
[all …]
/external/adhd/cras/src/tests/
Dalsa_helpers_unittest.cc16 static snd_pcm_uframes_t snd_pcm_htimestamp_avail_ret_val;
167 snd_pcm_uframes_t used; in TEST()
168 snd_pcm_uframes_t severe_underrun_frames = 480; in TEST()
210 snd_pcm_uframes_t avail; in TEST()
211 snd_pcm_uframes_t severe_underrun_frames = 480; in TEST()
212 snd_pcm_uframes_t buffer_size = 48000; in TEST()
253 snd_pcm_uframes_t* val) { in snd_pcm_sw_params_get_boundary()
259 snd_pcm_uframes_t val) { in snd_pcm_sw_params_set_stop_threshold()
265 snd_pcm_uframes_t val) { in snd_pcm_sw_params_set_start_threshold()
304 snd_pcm_uframes_t* avail, in snd_pcm_htimestamp()
Dalsa_io_unittest.cc2187 snd_pcm_uframes_t offset; in TEST_F()
2386 snd_pcm_uframes_t* buffer_size, in cras_alsa_set_hwparams()
2395 snd_pcm_uframes_t buf_size, in cras_alsa_get_avail_frames()
2396 snd_pcm_uframes_t severe_underrun_frames, in cras_alsa_get_avail_frames()
2398 snd_pcm_uframes_t* used, in cras_alsa_get_avail_frames()
2405 snd_pcm_uframes_t buf_size, in cras_alsa_get_delay_frames()
2413 snd_pcm_uframes_t* offset, in cras_alsa_mmap_begin()
2414 snd_pcm_uframes_t* frames) { in cras_alsa_mmap_begin()
2420 snd_pcm_uframes_t offset, in cras_alsa_mmap_commit()
2421 snd_pcm_uframes_t frames) { in cras_alsa_mmap_commit()
[all …]
/external/webrtc/webrtc/modules/audio_device/linux/
Daudio_device_alsa_linux.h205 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/
Dalsasoundsystem.cc96 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/
Dpcm_cras.c126 snd_pcm_uframes_t copied_frames; in pcm_cras_process_cb()
175 snd_pcm_uframes_t frames = nframes - copied_frames; in pcm_cras_process_cb()
176 snd_pcm_uframes_t remain = io->buffer_size - pcm_cras->hw_ptr; in pcm_cras_process_cb()
/external/tinyalsa/
Dpcm.c455 snd_pcm_uframes_t hw_ptr; in pcm_get_htimestamp()