boolean indicating that the ringbuffer is acquired
used to signal start/stop/pause/resume actions
pointer to memory holding one segment of silence samples
data in the ringbuffer
boolean indicating that the ringbuffer is open
number of samples in one segment
segment corresponding to segment 0 (unused)
readpointer in the ringbuffer
size of data in the ringbuffer
format and layout of the ringbuffer data
state of the buffer
is a reader or writer waiting for a free segment
This object is the base class for audio ringbuffers used by the base audio source and sink classes.
The ringbuffer abstracts a circular buffer of data. One reader and one writer can operate on the data from different threads in a lockfree manner. The base class is sufficiently flexible to be used as an abstraction for DMA based ringbuffers as well as a pure software implementations.