webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Attributes | List of all members
PaUtilRingBuffer Struct Reference

#include <pa_ringbuffer.h>

Public Attributes

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

Member Data Documentation

◆ bigMask

PaRingBufferSize PaUtilRingBuffer::bigMask

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

◆ buffer

char * PaUtilRingBuffer::buffer

Pointer to the buffer containing the actual data.

◆ bufferSize

PaRingBufferSize PaUtilRingBuffer::bufferSize

Number of elements in FIFO. Power of 2. Set by PaUtil_InitRingBuffer.

◆ elementSizeBytes

PaRingBufferSize PaUtilRingBuffer::elementSizeBytes

Number of bytes per element.

◆ readIndex

PaRingBufferSize PaUtilRingBuffer::readIndex

Index of next readable element. Set by PaUtil_AdvanceRingBufferReadIndex.

◆ smallMask

PaRingBufferSize PaUtilRingBuffer::smallMask

Used for fitting indices to buffer.

◆ writeIndex

PaRingBufferSize PaUtilRingBuffer::writeIndex

Index of next writable element. Set by PaUtil_AdvanceRingBufferWriteIndex.


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