VST2.4 specs 
HOME   |   Software       VST2.4 specs :: FIRST   -   PREV   -   NEXT

effProcessEvents / processEvents()


C++: VstIntPtr function dispatcher(AEffect* e, VstInt32 opcode, VstInt32 index, VstIntPtr value, void* ptr, float opt);
Delphi: function dispatcher(e: PAEffect; opcode, index: VstInt32; value: VstIntPtr; ptr: pointer; opt: Single): VstIntPtr; cdecl;
always returns 0, unless otherwise defined.
all string-pointers points to zero terminated strings.
e[ ]: = plugin receives as entry parameter
x[ ]: = plugin returns to host

dispatcher() function using opcode 25:
25. effProcessEvents   >= VST2.0   @see AudioEffectX::processEvents()
e[ptr]: pointer to VstEvents*, host usually call ProcessEvents just before calling ProcessReplacing
x[return]: VST2.4: host should ignore return value, <=VST2.3: 0 = 'wants no more', else return=1

C++ method:
 VstInt32 AudioEffectX::processEvents(VstEvents* events)

Delphi method:
 function AudioEffectX.processEvents(events: PVstEvents): VstInt32;

FIRST   -   PREV   -   NEXT   -   TOP