Function rbuffer_init
Defined in File rbuffer.h
Function Documentation
- struct rbuffer * rbuffer_init (struct rbuffer *rb_in, const struct rbuffer_params *params) RCSW_WUR
Initialize a ringbuffer.
- Parameters:
rb_in – An application allocated handle for the ringbuffer. Can be NULL, depending on if RCSW_NOALLOC_HANDLE is passed in rbuffer_params::flags or not.
params – The initialization parameters.
- Returns:
The initialized ringbuffer, or NULL if an error occurred.