Searched refs:fr_written (Results 1 – 2 of 2) sorted by relevance
/external/adhd/cras/src/server/ |
D | dev_stream.c | 184 unsigned int fr_written, fr_read; in dev_stream_mix() local 203 fr_written = 0; in dev_stream_mix() 205 while (fr_written < num_to_write) { in dev_stream_mix() 216 num_to_write - fr_written); in dev_stream_mix() 219 dev_frames = MIN(frames, num_to_write - fr_written); in dev_stream_mix() 226 fr_written += dev_frames; in dev_stream_mix() 231 ATLOG(atlog, AUDIO_THREAD_DEV_STREAM_MIX, fr_written, fr_read, 0); in dev_stream_mix() 233 return fr_written; in dev_stream_mix()
|
/external/adhd/cras/src/tests/ |
D | audio_thread_unittest_obsolete.cc | 1909 size_t fr_written, fr_in_buf; in dev_stream_mix() local 1935 fr_written = 0; in dev_stream_mix() 1936 while (fr_written < *count) { in dev_stream_mix() 1937 src = cras_shm_get_readable_frames(shm, fr_written, &frames); in dev_stream_mix() 1938 if (frames > *count - fr_written) in dev_stream_mix() 1939 frames = *count - fr_written; in dev_stream_mix() 1942 fr_written += frames; in dev_stream_mix() 1947 cras_shm_buffer_read(shm, fr_written); in dev_stream_mix()
|