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.
the RingBuffer to acquire
the specs of the buffer