Make duplicate script compatible with Python 3
[wdl/wdl-ol.git] / IPlugExamples / IPlugSideChain / IPlugSideChain.h
blobab95c45ecd2585bc491f2e0fbe1fa50dc3d7216b
1 #ifndef __IPLUGSIDECHAIN__
2 #define __IPLUGSIDECHAIN__
4 #include "IPlug_include_in_plug_hdr.h"
5 #include "IPlugSideChain_Controls.h"
7 class IPlugSideChain : public IPlug
9 public:
11 IPlugSideChain(IPlugInstanceInfo instanceInfo);
12 ~IPlugSideChain();
14 void Reset();
15 void OnParamChange(int paramIdx);
17 void ProcessDoubleReplacing(double** inputs, double** outputs, int nFrames);
19 private:
21 double mGain;
22 double mPrevL, mPrevR, mPrevLS, mPrevRS;
23 int mMeterIdx_L, mMeterIdx_R, mMeterIdx_LS, mMeterIdx_RS;
26 #endif