2013-07-27 23:36:58 +02:00
|
|
|
|
|
|
|
#ifndef LUPPP_AUDIO_PROCESSOR_H
|
|
|
|
#define LUPPP_AUDIO_PROCESSOR_H
|
|
|
|
|
2013-07-31 02:05:14 +02:00
|
|
|
#include <stdio.h>
|
|
|
|
|
2013-07-27 23:36:58 +02:00
|
|
|
class AudioProcessor
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
AudioProcessor(){}
|
|
|
|
|
|
|
|
/// copies the track output to master buffer, sidechain & post-side buffer
|
2013-08-16 00:51:09 +02:00
|
|
|
virtual void process(unsigned int nframes, Buffers* buffers){printf("AudioProcessor::process() not derived\n");}
|
2013-07-27 23:36:58 +02:00
|
|
|
|
2013-07-28 15:20:54 +02:00
|
|
|
/// set main mix, 0-1
|
|
|
|
virtual void setMaster(float value){}
|
|
|
|
|
|
|
|
/// set sidechain mix, 0-1
|
|
|
|
virtual void setSidechain(float value){}
|
2013-07-27 23:36:58 +02:00
|
|
|
|
2013-07-28 15:20:54 +02:00
|
|
|
/// set post sidechain mix, 0-1
|
|
|
|
virtual void setPostSidechain(float value){}
|
2013-07-27 23:36:58 +02:00
|
|
|
|
2013-07-28 15:20:54 +02:00
|
|
|
/// set reverb mix, 0-1
|
|
|
|
virtual void setReverb(float value){}
|
|
|
|
|
|
|
|
virtual ~AudioProcessor(){};
|
2013-07-27 23:36:58 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // LUPPP_AUDIO_PROCESSOR_H
|
|
|
|
|