diff --git a/dpf b/dpf index f644f30..3bbbef1 160000 --- a/dpf +++ b/dpf @@ -1 +1 @@ -Subproject commit f644f303c55966ae7f32d8eeeef9c7c4648dbdb4 +Subproject commit 3bbbef19fe12ef5d68f2810510da1fae6fdd35ff diff --git a/plugins/Nekobi/DistrhoPluginNekobi.cpp b/plugins/Nekobi/DistrhoPluginNekobi.cpp index 15839d0..d41f97e 100644 --- a/plugins/Nekobi/DistrhoPluginNekobi.cpp +++ b/plugins/Nekobi/DistrhoPluginNekobi.cpp @@ -170,6 +170,16 @@ void DistrhoPluginNekobi::initParameter(uint32_t index, Parameter& parameter) parameter.ranges.def = 0.0f; parameter.ranges.min = 0.0f; parameter.ranges.max = 1.0f; + parameter.enumValues.count = 2; + parameter.enumValues.restrictedMode = true; + { + ParameterEnumerationValue* const enumValues = new ParameterEnumerationValue[2]; + enumValues[0].value = 0.0f; + enumValues[0].label = "Square"; + enumValues[1].value = 1.0f; + enumValues[1].label = "Triangle"; + parameter.enumValues.values = enumValues; + } break; case paramTuning: parameter.hints = kParameterIsAutomable; // was 0.5 <-> 2.0, log