MRFausti -> Faustine in Makefile.in.
[Faustine.git] / interpretor / faust-0.9.47mr3 / architecture / audio / dsp.h
1
2 /******************************************************************************
3 *******************************************************************************
4
5 FAUST DSP
6
7 *******************************************************************************
8 *******************************************************************************/
9
10 #ifndef __dsp__
11 #define __dsp__
12
13 class UI;
14
15 //----------------------------------------------------------------
16 // signal processor definition
17 //----------------------------------------------------------------
18
19 class dsp {
20 protected:
21 int fSamplingFreq;
22 public:
23 dsp() {}
24 virtual ~dsp() {}
25
26 virtual int getNumInputs() = 0;
27 virtual int getNumOutputs() = 0;
28 virtual void buildUserInterface(UI* interface) = 0;
29 virtual void init(int samplingRate) = 0;
30 virtual void compute(int len, float** inputs, float** outputs) = 0;
31 };
32
33 #endif