Mixxx

PaUtilRingBuffer Struct Reference

#include <pa_ringbuffer.h>

List of all members.

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

Detailed Description

Definition at line 90 of file pa_ringbuffer.h.


Member Data Documentation

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

Definition at line 95 of file pa_ringbuffer.h.

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.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines