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 8:
8. effGetParamName
>= VST1.0
@see AudioEffect::getParameterName()
host requests parameter name
e[index]: parameter index
x[ptr]: returns string-pointer to parameter name (max 31 char + 0), examples: Time, Gain, RoomType
C++ method:
void AudioEffect::getParameterName(VstInt32 index, char* text)
Delphi method:
procedure AudioEffectX.getParamName(index: VstInt32; text: pchar);