Quote:
Originally Posted by debian
I think you need to create an instance of SimpleComp with new
in .h file
SimpleComp *mComp;
in constructor of the IPlugEffect
mComp = new SimpleComp();
then you need to use "->" insted of "."
mComp->process(*in1);
|
Thanks for reply.
Tried that but no luck.
I tried this one but it's working like expander instead of compressor.
mComp.setThresh(mGain);
mComp.setRatio(2);
mComp.setAttack(1);
mComp.setRelease(100);
mComp.process(*in1,*in2);
*out1 = *in1;
*out2 = *in2;