AEffect
struct AEffect;
long magic;
Must be kEffectMagic
('VstP').
long (VSTCALLBACK *dispatcher)(AEffect *effect, long opCode, long index, long value, void *ptr, float opt);
void (VSTCALLBACK *process)(AEffect *effect, float **inputs, float **outputs, long sampleframes);
void (VSTCALLBACK *setParameter)(AEffect *effect, long index, float parameter);
getParameter
float (VSTCALLBACK *getParameter)(AEffect *effect, long index);
long numPrograms;
long numParams;
All programs are assumed to have numParams parameters.
long numInputs;
long numOutputs;
long flags;
See constants.
long resvd1;
Reserved, must be 0.
long resvd2;
Reserved, must be 0.
long initialDelay;
For algorithms which need input in the first place.
long realQualities;
Number of realtime qualities (0: realtime).
long offQualities;
Number of offline qualities (0: realtime only).
float ioRatio;
Input samplerate to output samplerate ratio, not used yet.
void *object;
For class access (see AudioEffect.hpp), MUST be 0 else!
void *user;
User access.
long uniqueID;
Please choose 4 character as unique as possible. This is used to identify
an effect for save+load.
long version;
void (VSTCALLBACK *processReplacing)(AEffect *effect, float **inputs, float **outputs, long sampleframes);
char future[60];
Please zero.