IBufferSender is a utility class which can be used to defer buffer data for sending to the GUI.
More...
#include <ISender.h>
|
void | ProcessBlock (sample **inputs, int nFrames, int ctrlTag, int nChans=MAXNC, int chanOffset=0) |
| Queue sample buffers into the sender, checking the data is over the required threshold. More...
|
|
void | PushData (const ISenderData< MAXNC, std::array< float, MAXBUF > > &d) |
| Pushes a data element onto the queue. More...
|
|
void | TransmitData (IEditorDelegate &dlg) |
| Pops elements off the queue and sends messages to controls. More...
|
|
|
ISenderData< MAXNC, std::array< float, MAXBUF > > | mBuffer |
|
int | mBufCount = 0 |
|
std::array< float, MAXNC > | mRunningSum {0.} |
|
float | mPreviousSum = 1.f |
|
|
static constexpr int | kUpdateMessage |
|
template<int MAXNC = 1, int QUEUE_SIZE = 64, int MAXBUF = 128>
class IBufferSender< MAXNC, QUEUE_SIZE, MAXBUF >
IBufferSender is a utility class which can be used to defer buffer data for sending to the GUI.
Definition at line 121 of file ISender.h.
template<int MAXNC = 1, int QUEUE_SIZE = 64, int MAXBUF = 128>
void IBufferSender< MAXNC, QUEUE_SIZE, MAXBUF >::ProcessBlock |
( |
sample ** |
inputs, |
|
|
int |
nFrames, |
|
|
int |
ctrlTag, |
|
|
int |
nChans = MAXNC , |
|
|
int |
chanOffset = 0 |
|
) |
| |
|
inline |
Queue sample buffers into the sender, checking the data is over the required threshold.
This can be called on the realtime audio thread.
Definition at line 126 of file ISender.h.
The documentation for this class was generated from the following file: