ofxPDSP
|
A buffer of memory-aligned floats that resize itself when the units are prepared. More...
#include <BufferShell.h>
Public Member Functions | |
BufferShell (const BufferShell &other) | |
BufferShell & | operator= (const BufferShell &other) |
void | setOversampleLevel (int overSample) |
sets the oversample factor that multiply the buffer size More... | |
Public Attributes | |
float * | buffer |
this is the buffer of floats | |
Protected Member Functions | |
void | prepareToPlay (int expectedBufferSize, double sampleRate) override |
void | releaseResources () override |
Additional Inherited Members | |
Static Public Member Functions inherited from pdsp::Preparable | |
static double | getGlobalSampleRate () |
A buffer of memory-aligned floats that resize itself when the units are prepared.
This is a class that contain a buffer of memory-aligned floats that is prepared with all the units and nodes and resize itself according to the expectedBufferSize and an oversample factor.
void pdsp::BufferShell::setOversampleLevel | ( | int | overSample | ) |
sets the oversample factor that multiply the buffer size
[in] | newOversampleLevel | the oversample level, 2 for 2x, 4 for 4x, etc etc |