JackTrip
|
Connect Inputs to Outputs. More...
#include <LoopBack.h>
Public Member Functions | |
LoopBack (int numchans) | |
The class constructor sets the number of channels to connect as loopback. | |
virtual | ~LoopBack () |
The class destructor. | |
virtual int | getNumInputs () |
Return Number of Input Channels. | |
virtual int | getNumOutputs () |
Return Number of Output Channels. | |
virtual void | compute (int nframes, float **inputs, float **outputs) |
Compute process. | |
![]() | |
ProcessPlugin () | |
The Class Constructor. | |
virtual | ~ProcessPlugin () |
The Class Destructor. | |
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. |
Private Attributes | |
int | mNumChannels |
Additional Inherited Members | |
![]() | |
int | fSamplingFreq |
Faust Data member, Sampling Rate. |
Connect Inputs to Outputs.
This Class just copy audio from its inputs to its outputs.
It can be use to do loopback without the need to externally connect channels in JACK. Note that if you do connect the channels in jack, you'll be effectively multiplying the signal by 2.
|
inline |
The class constructor sets the number of channels to connect as loopback.
|
inlinevirtual |
The class destructor.
|
virtual |
Compute process.
Implements ProcessPlugin.
|
inlinevirtual |
Return Number of Input Channels.
Implements ProcessPlugin.
|
inlinevirtual |
Return Number of Output Channels.
Implements ProcessPlugin.
|
private |