![]() |
Mixxx
|
#include <pa_ringbuffer.h>
Public Attributes | |
ring_buffer_size_t | bufferSize |
volatile ring_buffer_size_t | writeIndex |
volatile ring_buffer_size_t | readIndex |
ring_buffer_size_t | bigMask |
ring_buffer_size_t | smallMask |
ring_buffer_size_t | elementSizeBytes |
char * | buffer |
Definition at line 90 of file pa_ringbuffer.h.
Used for wrapping indices with extra bit to distinguish full/empty.
Definition at line 95 of file pa_ringbuffer.h.
char* PaUtilRingBuffer::buffer |
Pointer to the buffer containing the actual data.
Definition at line 98 of file pa_ringbuffer.h.
Number of elements in FIFO. Power of 2. Set by PaUtil_InitRingBuffer.
Definition at line 92 of file pa_ringbuffer.h.
Number of bytes per element.
Definition at line 97 of file pa_ringbuffer.h.
Index of next readable element. Set by PaUtil_AdvanceRingBufferReadIndex.
Definition at line 94 of file pa_ringbuffer.h.
Used for fitting indices to buffer.
Definition at line 96 of file pa_ringbuffer.h.
Index of next writable element. Set by PaUtil_AdvanceRingBufferWriteIndex.
Definition at line 93 of file pa_ringbuffer.h.