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

effGetParamLabel / getParameterLabel()


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 6:
6. effGetParamLabel   >= VST1.0   @see AudioEffect::getParameterLabel()
host requests parameter label
e[index]: parameter index
x[ptr]: returns string-pointer to parameter label (max 8 char + 0), examples: sec, dB, type

C++ method:
 void AudioEffect::getParameterLabel(VstInt32 index, char* label)

Delphi method:
 procedure AudioEffectX.getParamLabel(index: VstInt32; text: pchar);

FIRST   -   PREV   -   NEXT   -   TOP