Browse Source

Do not use/check kVstParameterUsesIntegerMinMax vst property

tags/v1.9.9
falkTX 6 years ago
parent
commit
9f30f00280
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      source/backend/plugin/CarlaPluginVST2.cpp

+ 2
- 0
source/backend/plugin/CarlaPluginVST2.cpp View File

@@ -731,6 +731,7 @@ public:
}
else if (dispatcher(effGetParameterProperties, static_cast<int32_t>(j), 0, &prop, 0) == 1)
{
#if 0
if (prop.flags & kVstParameterUsesIntegerMinMax)
{
min = static_cast<float>(prop.minInteger);
@@ -748,6 +749,7 @@ public:
}
}
else
#endif
{
min = 0.0f;
max = 1.0f;


Loading…
Cancel
Save