acquire


Description:

public virtual bool acquire (RingBufferSpec spec)

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.

Parameters:

this

the RingBuffer to acquire

spec

the specs of the buffer

Returns: