28 #include <sys/types.h>
size_t jack_ringbuffer_write_space(const jack_ringbuffer_t *rb)
jack_ringbuffer_t * jack_ringbuffer_create(size_t sz)
void jack_ringbuffer_get_write_vector(const jack_ringbuffer_t *rb, jack_ringbuffer_data_t *vec)
void jack_ringbuffer_reset(jack_ringbuffer_t *rb)
size_t jack_ringbuffer_read(jack_ringbuffer_t *rb, char *dest, size_t cnt)
size_t jack_ringbuffer_read_space(const jack_ringbuffer_t *rb)
size_t jack_ringbuffer_write(jack_ringbuffer_t *rb, const char *src, size_t cnt)
void jack_ringbuffer_write_advance(jack_ringbuffer_t *rb, size_t cnt)
void jack_ringbuffer_get_read_vector(const jack_ringbuffer_t *rb, jack_ringbuffer_data_t *vec)
void jack_ringbuffer_free(jack_ringbuffer_t *rb)
void jack_ringbuffer_read_advance(jack_ringbuffer_t *rb, size_t cnt)
size_t jack_ringbuffer_peek(jack_ringbuffer_t *rb, char *dest, size_t cnt)
int jack_ringbuffer_mlock(jack_ringbuffer_t *rb)
Definition: ringbuffer.h:45
size_t len
Definition: ringbuffer.h:47
char * buf
Definition: ringbuffer.h:46
Definition: ringbuffer.h:52
volatile size_t read_ptr
Definition: ringbuffer.h:55
volatile size_t write_ptr
Definition: ringbuffer.h:54
size_t size_mask
Definition: ringbuffer.h:57
int mlocked
Definition: ringbuffer.h:58
char * buf
Definition: ringbuffer.h:53
size_t size
Definition: ringbuffer.h:56