RingBufferWavetable Class Reference

Same as RingBuffer, except that it uses the Wavetable mode for lost or late packets. More...

#include <RingBufferWavetable.h>

Inheritance diagram for RingBufferWavetable:

Inheritance graph
[legend]
Collaboration diagram for RingBufferWavetable:

Collaboration graph
[legend]

List of all members.

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.


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 (  )  [inline, virtual]

The class destructor.


Member Function Documentation

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.

Parameters:
ptrToReadSlot Pointer to read slot from the RingBuffer

Reimplemented from RingBuffer.


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