#include <RingBufferWavetable.h>
Public Member Functions | |
RingBufferWavetable (int SlotSize, int NumSlots) | |
The class constructor. | |
virtual | ~RingBufferWavetable () |
The class destructor. | |
Protected Member Functions | |
virtual void | setUnderrunReadSlot (int8_t *ptrToReadSlot) |
Sets the memory in the Read Slot when uderrun occurs. This loops as a wavetable in the last received packet. |
RingBufferWavetable::RingBufferWavetable | ( | int | SlotSize, | |
int | NumSlots | |||
) | [inline] |
The class constructor.
SlotSize | Size of one slot in bytes | |
NumSlots | Number of slots |
virtual RingBufferWavetable::~RingBufferWavetable | ( | ) | [inline, virtual] |
The class destructor.
virtual void RingBufferWavetable::setUnderrunReadSlot | ( | int8_t * | ptrToReadSlot | ) | [inline, protected, virtual] |
Sets the memory in the Read Slot when uderrun occurs. This loops as a wavetable in the last received packet.
ptrToReadSlot | Pointer to read slot from the RingBuffer |
Reimplemented from RingBuffer.