JackTrip
|
Interface for the process plugins to add to the JACK callback process in JackAudioInterface. More...
#include <ProcessPlugin.h>
Public Member Functions | |
ProcessPlugin () | |
The Class Constructor. More... | |
virtual | ~ProcessPlugin () |
The Class Destructor. More... | |
virtual int | getNumInputs ()=0 |
Return Number of Input Channels. More... | |
virtual int | getNumOutputs ()=0 |
Return Number of Output Channels. More... | |
virtual char * | getName () |
virtual void | init (int samplingRate) |
Do proper Initialization of members and class instances. By default this initializes the Sampling Frequency. If a class instance depends on the sampling frequency, it should be initialize here. More... | |
virtual bool | getInited () |
virtual void | setVerbose (bool v) |
virtual void | compute (int nframes, float **inputs, float **outputs)=0 |
Compute process. More... | |
Protected Attributes | |
int | fSamplingFreq |
Faust Data member, Sampling Rate. More... | |
bool | inited = false |
bool | verbose = false |
Interface for the process plugins to add to the JACK callback process in JackAudioInterface.
This class contains the same methods of the FAUST dsp class. A mydsp class can inherit from this class the same way it inherits from dsp. Subclass should implement all methods except init, which is optional for processing that are sampling rate dependent or that need specific initialization.
|
inline |
The Class Constructor.
|
inlinevirtual |
The Class Destructor.
|
pure virtual |
Compute process.
Implemented in Reverb, Limiter, Compressor, LoopBack, and NetKS.
|
inlinevirtual |
|
inlinevirtual |
|
pure virtual |
Return Number of Input Channels.
Implemented in Reverb, Limiter, Compressor, NetKS, and LoopBack.
|
pure virtual |
Return Number of Output Channels.
Implemented in Reverb, Limiter, Compressor, NetKS, and LoopBack.
|
inlinevirtual |
Do proper Initialization of members and class instances. By default this initializes the Sampling Frequency. If a class instance depends on the sampling frequency, it should be initialize here.
Reimplemented in Reverb, Limiter, Compressor, and NetKS.
|
inlinevirtual |
|
protected |
Faust Data member, Sampling Rate.
|
protected |
|
protected |