#include <pa_ringbuffer.h>
Data Fields | |
| long | bufferSize |
| long | writeIndex |
| long | readIndex |
| long | bigMask |
| long | smallMask |
| long | elementSizeBytes |
| char * | buffer |
Used for wrapping indices with extra bit to distinguish full/empty.
| char* PaUtilRingBuffer::buffer |
Pointer to the buffer containing the actual data.
Number of elements in FIFO. Power of 2. Set by PaUtil_InitRingBuffer.
Number of bytes per element.
Index of next readable element. Set by PaUtil_AdvanceRingBufferReadIndex.
Used for fitting indices to buffer.
Index of next writable element. Set by PaUtil_AdvanceRingBufferWriteIndex.
1.4.7