iPlug2 - C++ Audio Plug-in Framework
Public Member Functions | List of all members
IPeakSender< MAXNC, QUEUE_SIZE > Class Template Reference

IPeakSender is a utility class which can be used to defer peak data from sample buffers for sending to the GUI. More...

#include <ISender.h>

Inheritance diagram for IPeakSender< MAXNC, QUEUE_SIZE >:
[legend]

Public Member Functions

void ProcessBlock (sample **inputs, int nFrames, int ctrlTag, int nChans=MAXNC, int chanOffset=0)
 Queue peaks from sample buffers into the sender, checking the data is over the required threshold. More...
 
- Public Member Functions inherited from ISender< MAXNC, QUEUE_SIZE, float >
void PushData (const ISenderData< MAXNC, float > &d)
 Pushes a data element onto the queue. More...
 
void TransmitData (IEditorDelegate &dlg)
 Pops elements off the queue and sends messages to controls. More...
 

Additional Inherited Members

- Static Public Attributes inherited from ISender< MAXNC, QUEUE_SIZE, float >
static constexpr int kUpdateMessage
 

Detailed Description

template<int MAXNC = 1, int QUEUE_SIZE = 64>
class IPeakSender< MAXNC, QUEUE_SIZE >

IPeakSender is a utility class which can be used to defer peak data from sample buffers for sending to the GUI.

Definition at line 86 of file ISender.h.

Member Function Documentation

template<int MAXNC = 1, int QUEUE_SIZE = 64>
void IPeakSender< MAXNC, QUEUE_SIZE >::ProcessBlock ( sample **  inputs,
int  nFrames,
int  ctrlTag,
int  nChans = MAXNC,
int  chanOffset = 0 
)
inline

Queue peaks from 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 90 of file ISender.h.

References ISender< MAXNC, QUEUE_SIZE, T >::PushData().


The documentation for this class was generated from the following file: