#include <Nsound/CircularBuffer.h>
Definition at line 41 of file CircularBuffer.h.
CircularBuffer::CircularBuffer |
( |
uint32 |
n_samples | ) |
|
Definition at line 39 of file CircularBuffer.cc.
static Buffer zeros(const uint32 n_samples)
Returns a Buffer full of zeros of length n_samples.
A circulator iterator for class Buffer.
circular_iterator cbegin()
Retruns the itreator at the start of the Buffer.
A Buffer for storing audio samples.
Buffer::circular_iterator * itor_
CircularBuffer::~CircularBuffer |
( |
| ) |
|
Buffer CircularBuffer::read |
( |
| ) |
const |
Definition at line 55 of file CircularBuffer.cc.
References buffer_, Nsound::Buffer::getLength(), and itor_.
63 for(
uint32 i = 0; i < N; ++i)
A circulator iterator for class Buffer.
uint32 getLength() const
Returns the number of samples in the Buffer.
A Buffer for storing audio samples.
Buffer::circular_iterator * itor_
void CircularBuffer::write |
( |
float64 |
d | ) |
|
void CircularBuffer::write |
( |
const Buffer & |
b | ) |
|
Buffer* Nsound::CircularBuffer::buffer_ |
|
protected |
The documentation for this class was generated from the following files: