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 31:
31. effConnectInput
>= VST2.0 ... deprecated in VST2.4 @see AudioEffectX::inputConnected()
e[index]: input pin number that has been (dis-)connected
e[value]: 0 = disconnected, else connected
x[return]: 1 = successful
C++ method:
void AudioEffectX::DECLARE_VST_DEPRECATED(inputConnected) (VstInt32 index, bool state)
Delphi method:
procedure AudioEffectX.inputConnected(index: VstInt32; state: boolean);