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

effSetEditKnobMode / setKnobMode()


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 61:
61. effSetEditKnobMode   >= VST2.1   (editor)   @see AEffEditor::setKnobMode()
e[value]: knobmode 0=circular, 1=circular relativ, 2=linear
x[return]: 1 = successful

C++ method:
 bool AEffEditor::setKnobMode(VstInt32 val)

Delphi method:
 function AEffEditor.setKnobMode(val: VstInt32): VstInt32;

FIRST   -   PREV   -   NEXT   -   TOP