Home
last modified time | relevance | path

Searched refs:buf_writable (Results 1 – 4 of 4) sorted by relevance

/external/adhd/cras/src/common/
Dbyte_buffer.h48 static inline unsigned int buf_writable(struct byte_buffer *buf) in buf_writable() function
116 *writeable = buf_writable(buf); in buf_write_pointer_size()
/external/adhd/cras/src/server/
Dcras_loopback_iodev.c78 frames_to_copy = MIN(buf_writable(sbuf) / frame_bytes, nframes); in sample_hook()
155 MIN(buf_writable(sbuf) / frame_bytes, frames_to_fill); in frames_queued()
Dfloat_buffer.h72 return buf_writable(b->buf); in float_buffer_writable()
Dcras_a2dp_iodev.c543 *frames = MIN(*frames, buf_writable(a2dpio->pcm_buf) / format_bytes); in get_buffer()
560 if (written_bytes > buf_writable(a2dpio->pcm_buf)) in put_buffer()