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 422 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 = kNoTag , |
|
|
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.
- Parameters
-
inputs | the sample buffers |
nFrames | the number of sample frames in the input buffers |
ctrlTag | a control tag to indicate which control to send the buffers to. Note: if you don't supply the control tag here, you must use TransmitDataToControlsWithTags() and specify one or more tags there |
nChans | the number of channels of data that should be sent |
chanOffset | the starting channel |
Definition at line 438 of file ISender.h.
References ISender< MAXNC, QUEUE_SIZE, T >::PushData().