PaUtilRingBuffer Struct Reference

#include <pa_ringbuffer.h>

Data Fields

long bufferSize
long writeIndex
long readIndex
long bigMask
long smallMask
long elementSizeBytes
char * buffer

Field Documentation

Used for wrapping indices with extra bit to distinguish full/empty.

Referenced by PaUtil_AdvanceRingBufferReadIndex(), PaUtil_AdvanceRingBufferWriteIndex(), PaUtil_GetRingBufferReadAvailable(), and PaUtil_InitializeRingBuffer().

Index of next readable element. Set by PaUtil_AdvanceRingBufferReadIndex.

Referenced by PaUtil_AdvanceRingBufferReadIndex(), PaUtil_FlushRingBuffer(), PaUtil_GetRingBufferReadAvailable(), and PaUtil_GetRingBufferReadRegions().

Index of next writable element. Set by PaUtil_AdvanceRingBufferWriteIndex.

Referenced by PaUtil_AdvanceRingBufferWriteIndex(), PaUtil_FlushRingBuffer(), PaUtil_GetRingBufferReadAvailable(), and PaUtil_GetRingBufferWriteRegions().


The documentation for this struct was generated from the following file:

Generated by  doxygen 1.6.2