1 #ifndef CROSSOVERAUDIO_H_ 2 #define CROSSOVERAUDIO_H_ 28 #include <Eigen/Dense> 46 virtual int startClient(
int inCnt,
int outCnt,
bool doConnect);
58 Eigen::Matrix<float, Eigen::Dynamic, Eigen::Dynamic>
audio;
96 int setChannels(
int outCnt,
int inCnt,
int testInCnt);
129 #endif // CROSSOVERAUDIO_H_
virtual ~CrossoverAudio()
Destructor.
int currentInputChannel
The current input channel to test.
unsigned int zeroSampleCnt
The number of samples to train with zeros.
virtual int startClient()
float gain
The gain for the output.
Mutex recordLock
The lock for when the audio is being played/recorded.
int samplesProcessed
The number of samples already processed.
void getChannels(int &inCnt, int &outCnt)
virtual int getNumberOfRecordedChannels()
CrossoverAudio()
Constructor : starts connecting to Jack audio.
int setChannels(int outCnt, int inCnt, int testInCnt)
int getSampleRate(void) const
int samplesToProcess
The number of samples to process, matching the duration.
virtual int processAudio(jack_nframes_t nframes)
The Jack client callback.
int recordNextChannelSet()
Eigen::Matrix< float, Eigen::Dynamic, Eigen::Dynamic > audio
The first channel is the same data sent over each output channel, then the output channels...