| Mozzi version v1.1.0 sound synthesis library for Arduino |

Public Member Functions | List of all members
CircularBuffer< ITEM_TYPE > Class Template Reference

Circular buffer object. More...

`#include <CircularBuffer.h>`

## Public Member Functions
| CircularBuffer ()
| Constructor.
bool | isFull ()
bool | isEmpty ()
void | write (ITEM_TYPE in)
ITEM_TYPE | read ()
unsigned long | count ()

## Detailed Description

### template<class ITEM_TYPE>
class CircularBuffer< ITEM_TYPE >

Circular buffer object.

Has a fixed number of cells, set to 256.

Template Parameters

  ITEM_TYPE | the kind of data to store, eg. int, int8_t etc.

Definition at line 12 of file CircularBuffer.h.