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

effSetTotalSampleToProcess / setTotalSampleToProcess()


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 73:
73. effSetTotalSampleToProcess   >= VST2.3   (offline)   @see AudioEffectX::setTotalSampleToProcess()
Called in offline mode (non RealTime) before process() or processVariableIo() is called, indicating how many samples will be processed
e[value]: how many samples will be processed
x[return]: 1 = successful ???

C++ method:
 virtual AudioEffectX::VstInt32 setTotalSampleToProcess(VstInt32 value)

Delphi method:
 function AudioEffectX.setTotalSampleToProcess(value: VstInt32): VstInt32;

FIRST   -   PREV   -   NEXT   -   TOP