#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. | |
Private Attributes | |
int | mNumChannels |
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.
LoopBack::LoopBack | ( | int | numchans | ) | [inline] |
The class constructor sets the number of channels to connect as loopback.
virtual LoopBack::~LoopBack | ( | ) | [inline, virtual] |
The class destructor.
virtual int LoopBack::getNumInputs | ( | ) | [inline, virtual] |
virtual int LoopBack::getNumOutputs | ( | ) | [inline, virtual] |
void LoopBack::compute | ( | int | nframes, | |
float ** | inputs, | |||
float ** | outputs | |||
) | [virtual] |
int LoopBack::mNumChannels [private] |