Use linear knobs in VST and LV2
This commit is contained in:
parent
f34de3e3c9
commit
3431642cd2
2 changed files with 4 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ struct sfizz_ui_t : EditorController, VSTGUIEditorInterface {
|
||||||
|
|
||||||
/// VSTGUIEditorInterface
|
/// VSTGUIEditorInterface
|
||||||
CFrame* getFrame() const override { return uiFrame.get(); }
|
CFrame* getFrame() const override { return uiFrame.get(); }
|
||||||
|
int32_t getKnobMode () const override { return kLinearMode; }
|
||||||
LV2_Atom_Forge atom_forge;
|
LV2_Atom_Forge atom_forge;
|
||||||
LV2_URID atom_event_transfer_uri;
|
LV2_URID atom_event_transfer_uri;
|
||||||
LV2_URID atom_object_uri;
|
LV2_URID atom_object_uri;
|
||||||
|
|
|
||||||
|
|
@ -145,6 +145,9 @@ tresult PLUGIN_API SfizzVstControllerNoUi::initialize(FUnknown* context)
|
||||||
addProgramList(list);
|
addProgramList(list);
|
||||||
list->addRef();
|
list->addRef();
|
||||||
|
|
||||||
|
// Use linear knobs
|
||||||
|
setKnobMode(kLinearMode);
|
||||||
|
|
||||||
return kResultTrue;
|
return kResultTrue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue