Same as RingBuffer, except that it uses the Wavetable mode for lost or late packets.
More...
#include <RingBufferWavetable.h>
Detailed Description
Same as RingBuffer, except that it uses the Wavetable mode for lost or late packets.
Constructor & Destructor Documentation
RingBufferWavetable::RingBufferWavetable |
( |
int |
SlotSize, |
|
|
int |
NumSlots |
|
) |
| |
|
inline |
The class constructor.
- Parameters
-
SlotSize | Size of one slot in bytes |
NumSlots | Number of slots |
virtual RingBufferWavetable::~RingBufferWavetable |
( |
| ) |
|
|
inlinevirtual |
Member Function Documentation
virtual void RingBufferWavetable::setUnderrunReadSlot |
( |
int8_t * |
ptrToReadSlot | ) |
|
|
inlineprotectedvirtual |
Sets the memory in the Read Slot when uderrun occurs. This loops as a wavetable in the last received packet.
- Parameters
-
ptrToReadSlot | Pointer to read slot from the RingBuffer |
Reimplemented from RingBuffer.
The documentation for this class was generated from the following file: