MT safe.
AudioRingBuffer.acquire
bool acquire(gstaudio.audio_ring_buffer_spec.AudioRingBufferSpec spec)Allocate the resources for the ringbuffer. This function fills in the data pointer of the ring buffer with a valid #GstBuffer to which samples can be written.
Parameters
spec | the specs of the buffer |
Returns
TRUE if the device could be acquired, FALSE on error.