Allocate the resources for the ringbuffer.
This function fills in the data pointer of the ring buffer with a valid Buffer to which samples can be written.
this |
the RingBuffer to acquire |
spec |
the specs of the buffer |