Searched refs:buf_writable (Results 1 – 4 of 4) sorted by relevance
48 static inline unsigned int buf_writable(struct byte_buffer *buf) in buf_writable() function116 *writeable = buf_writable(buf); in buf_write_pointer_size()
78 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()
72 return buf_writable(b->buf); in float_buffer_writable()
543 *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()