Browse Source

Fix typo in parameter CC automation, leading to bad values

tags/1.9.4
falkTX 11 years ago
parent
commit
4108ca2236
8 changed files with 8 additions and 8 deletions
  1. +1
    -1
      source/backend/plugin/BridgePlugin.cpp
  2. +1
    -1
      source/backend/plugin/DssiPlugin.cpp
  3. +1
    -1
      source/backend/plugin/FluidSynthPlugin.cpp
  4. +1
    -1
      source/backend/plugin/LadspaPlugin.cpp
  5. +1
    -1
      source/backend/plugin/LinuxSamplerPlugin.cpp
  6. +1
    -1
      source/backend/plugin/Lv2Plugin.cpp
  7. +1
    -1
      source/backend/plugin/NativePlugin.cpp
  8. +1
    -1
      source/backend/plugin/VstPlugin.cpp

+ 1
- 1
source/backend/plugin/BridgePlugin.cpp View File

@@ -773,7 +773,7 @@ public:
}
else
{
value = kData->param.ranges[i].unnormalizeValue(ctrlEvent.value);
value = kData->param.ranges[k].unnormalizeValue(ctrlEvent.value);

if (kData->param.data[k].hints & PARAMETER_IS_INTEGER)
value = std::rint(value);


+ 1
- 1
source/backend/plugin/DssiPlugin.cpp View File

@@ -1192,7 +1192,7 @@ public:
}
else
{
value = kData->param.ranges[i].unnormalizeValue(ctrlEvent.value);
value = kData->param.ranges[k].unnormalizeValue(ctrlEvent.value);

if (kData->param.data[k].hints & PARAMETER_IS_INTEGER)
value = std::rint(value);


+ 1
- 1
source/backend/plugin/FluidSynthPlugin.cpp View File

@@ -1192,7 +1192,7 @@ public:
}
else
{
value = kData->param.ranges[i].unnormalizeValue(ctrlEvent.value);
value = kData->param.ranges[k].unnormalizeValue(ctrlEvent.value);

if (kData->param.data[k].hints & PARAMETER_IS_INTEGER)
value = std::rint(value);


+ 1
- 1
source/backend/plugin/LadspaPlugin.cpp View File

@@ -998,7 +998,7 @@ public:
}
else
{
value = kData->param.ranges[i].unnormalizeValue(ctrlEvent.value);
value = kData->param.ranges[k].unnormalizeValue(ctrlEvent.value);

if (kData->param.data[k].hints & PARAMETER_IS_INTEGER)
value = std::rint(value);


+ 1
- 1
source/backend/plugin/LinuxSamplerPlugin.cpp View File

@@ -694,7 +694,7 @@ public:
}
else
{
value = kData->param.ranges[i].unnormalizeValue(ctrlEvent.value);
value = kData->param.ranges[k].unnormalizeValue(ctrlEvent.value);

if (kData->param.data[k].hints & PARAMETER_IS_INTEGER)
value = std::rint(value);


+ 1
- 1
source/backend/plugin/Lv2Plugin.cpp View File

@@ -2772,7 +2772,7 @@ public:
}
else
{
value = kData->param.ranges[i].unnormalizeValue(ctrlEvent.value);
value = kData->param.ranges[k].unnormalizeValue(ctrlEvent.value);

if (kData->param.data[k].hints & PARAMETER_IS_INTEGER)
value = std::rint(value);


+ 1
- 1
source/backend/plugin/NativePlugin.cpp View File

@@ -1506,7 +1506,7 @@ public:
}
else
{
value = kData->param.ranges[i].unnormalizeValue(ctrlEvent.value);
value = kData->param.ranges[k].unnormalizeValue(ctrlEvent.value);

if (kData->param.data[k].hints & PARAMETER_IS_INTEGER)
value = std::rint(value);


+ 1
- 1
source/backend/plugin/VstPlugin.cpp View File

@@ -1272,7 +1272,7 @@ public:
}
else
{
value = kData->param.ranges[i].unnormalizeValue(ctrlEvent.value);
value = kData->param.ranges[k].unnormalizeValue(ctrlEvent.value);

if (kData->param.data[k].hints & PARAMETER_IS_INTEGER)
value = std::rint(value);


Loading…
Cancel
Save