The LinearBuffer object implements a linear buffer of type T. It allows easy wrapping of a smart pointer object.
More...
#include <fxobjects.h>
template<typename T>
class LinearBuffer< T >
The LinearBuffer object implements a linear buffer of type T. It allows easy wrapping of a smart pointer object.
- Author
- Will Pirkle http://www.willpirkle.com
- Version
- Revision : 1.0
- Date
- Date : 2018 / 09 / 7
◆ createLinearBuffer()
template<typename T >
void LinearBuffer< T >::createLinearBuffer |
( |
unsigned int |
_bufferLength | ) |
|
|
inline |
Create a buffer based on a target maximum in SAMPLES do NOT call from realtime audio thread; do this prior to any processing
◆ flushBuffer()
flush buffer by resetting all values to 0.0
◆ readBuffer()
read an arbitrary location that is delayInSamples old
◆ writeBuffer()
template<typename T >
void LinearBuffer< T >::writeBuffer |
( |
unsigned int |
index, |
|
|
T |
input |
|
) |
| |
|
inline |
write a value into the buffer; this overwrites the previous oldest value in the buffer
The documentation for this class was generated from the following file: