Home
last modified time | relevance | path

Searched refs:read_frames (Results 1 – 5 of 5) sorted by relevance

/external/adhd/cras/src/server/
Dcras_empty_iodev.c34 uint64_t read_frames, written_frames; member
55 nframes = frames_since_start - empty_iodev->read_frames; in current_level()
100 empty_iodev->read_frames = 0; in configure_dev()
140 empty_iodev->read_frames += frames; in put_buffer()
154 empty_iodev->read_frames = 0; in flush_buffer()
Dcras_loopback_iodev.c48 uint64_t read_frames; member
151 frames_since_start > loopdev->read_frames ? in frames_queued()
152 frames_since_start - loopdev->read_frames : in frames_queued()
198 loopdev->read_frames = 0; in configure_record_dev()
240 loopdev->read_frames += nframes; in put_record_buffer()
251 loopdev->read_frames = 0; in flush_record_buffer()
Ddev_stream.c206 unsigned int read_frames; in dev_stream_mix() local
212 read_frames = frames; in dev_stream_mix()
215 dev_stream->conv_buffer->bytes, &read_frames, in dev_stream_mix()
220 read_frames = dev_frames; in dev_stream_mix()
227 fr_read += read_frames; in dev_stream_mix()
246 unsigned int read_frames; in capture_with_fmt_conv() local
264 read_frames = num_frames - total_read; in capture_with_fmt_conv()
266 dev_stream->conv, source_samples, buffer, &read_frames, in capture_with_fmt_conv()
268 total_read += read_frames; in capture_with_fmt_conv()
269 source_samples += read_frames * source_frame_bytes; in capture_with_fmt_conv()
/external/tinyalsa_new/tests/src/
Dpcm_in_test.cc88 int read_frames = 0; in TEST_F() local
92 read_frames = pcm_readi(pcm_object, buffer.get(), frames); in TEST_F()
93 ASSERT_EQ(read_frames, frames); in TEST_F()
/external/tinyalsa_new/examples/
Dpcm-readi.c6 static size_t read_frames(void **frames) in read_frames() function
69 size = read_frames(&frames); in main()