Home
last modified time | relevance | path

Searched refs:buf_writable_bytes (Results 1 – 3 of 3) sorted by relevance

/external/adhd/cras/src/common/
Dbyte_buffer.h44 static inline unsigned int buf_writable_bytes(struct byte_buffer *buf) in buf_writable_bytes() function
103 *writeable = buf_writable_bytes(buf); in buf_write_pointer_size()
/external/adhd/cras/src/server/
Dcras_loopback_iodev.c67 frames_to_copy = MIN(buf_writable_bytes(sbuf) / frame_bytes, nframes); in sample_hook()
135 frames_to_fill = MIN(buf_writable_bytes(sbuf) / frame_bytes, in frames_queued()
Dcras_a2dp_iodev.c365 *frames = MIN(*frames, buf_writable_bytes(a2dpio->pcm_buf) / in get_buffer()
384 if (written_bytes > buf_writable_bytes(a2dpio->pcm_buf)) in put_buffer()