Browse Source

Carla: Force within-range parameters after a program change

tags/v0.9.0
falkTX 13 years ago
parent
commit
94ff54ad62
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      c++/carla-backend/carla_plugin.h

+ 2
- 0
c++/carla-backend/carla_plugin.h View File

@@ -1177,6 +1177,7 @@ public:
for (uint32_t i=0; i < param.count; i++)
{
param.ranges[i].def = getParameterValue(i);
fixParameterValue(param.ranges[i].def, param.ranges[i]);

#ifndef BUILD_BRIDGE
if (sendOsc)
@@ -1230,6 +1231,7 @@ public:
for (uint32_t i=0; i < param.count; i++)
{
param.ranges[i].def = getParameterValue(i);
fixParameterValue(param.ranges[i].def, param.ranges[i]);

#ifndef BUILD_BRIDGE
if (sendOsc)


Loading…
Cancel
Save