From d240f4f63f42ce899dfd3ada8a310b374e8bde49 Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Fri, 21 Aug 2020 20:34:49 +0200 Subject: [PATCH] vst: set slider default values --- vst/SfizzVstEditor.h | 1 + 1 file changed, 1 insertion(+) diff --git a/vst/SfizzVstEditor.h b/vst/SfizzVstEditor.h index 7b6e8392..21cf8a87 100644 --- a/vst/SfizzVstEditor.h +++ b/vst/SfizzVstEditor.h @@ -66,6 +66,7 @@ private: auto* p = static_cast(getController()->getParameterObject(id)); c->setMin(p->getMin()); c->setMax(p->getMax()); + c->setDefaultValue(p->toPlain(p->getInfo().defaultNormalizedValue)); } enum {