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 34:
34. effGetOutputProperties
>= VST2.0
@see AudioEffectX::getOutputProperties()
host requests plugin's output pin properties
e[index]: output pin number
x[ptr]: pointer to VstPinProperties*, memory is already allocated by host
x[return]: 1 = successful
C++ method:
bool AudioEffectX::getOutputProperties(VstInt32 index, VstPinProperties* properties)
Delphi method:
function AudioEffectX.getOutputProperties(index: VstInt32; properties: PVstPinProperties): boolean;