AudioRingBuffer.acquire

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 gstaudio.audio_ring_buffer_spec.AudioRingBufferSpec

the specs of the buffer

Return Value

Type: bool

TRUE if the device could be acquired, FALSE on error.

MT safe.