ProcessPlugin Class Reference

Interface for the process plugins to add to the JACK callback process in JackAudioInterface. More...

#include <ProcessPlugin.h>

Inheritance diagram for ProcessPlugin:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 ProcessPlugin ()
 The Class Constructor.
virtual ~ProcessPlugin ()
 The Class Destructor.
virtual int getNumInputs ()=0
 Return Number of Input Channels.
virtual int getNumOutputs ()=0
 Return Number of Output Channels.
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.
virtual void compute (int nframes, float **inputs, float **outputs)=0
 Compute process.

Protected Attributes

int fSamplingFreq
 Faust Data member, Sampling Rate.


Detailed Description

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.


Constructor & Destructor Documentation

ProcessPlugin::ProcessPlugin (  )  [inline]

The Class Constructor.

virtual ProcessPlugin::~ProcessPlugin (  )  [inline, virtual]

The Class Destructor.


Member Function Documentation

virtual int ProcessPlugin::getNumInputs (  )  [pure virtual]

Return Number of Input Channels.

Implemented in LoopBack, and NetKS.

virtual int ProcessPlugin::getNumOutputs (  )  [pure virtual]

Return Number of Output Channels.

Implemented in LoopBack, and NetKS.

virtual void ProcessPlugin::init ( int  samplingRate  )  [inline, virtual]

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 NetKS.

virtual void ProcessPlugin::compute ( int  nframes,
float **  inputs,
float **  outputs 
) [pure virtual]

Compute process.

Implemented in LoopBack, and NetKS.


Member Data Documentation

Faust Data member, Sampling Rate.


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