Browse Source

Adjustments to last commit

tags/1.9.6
falkTX 10 years ago
parent
commit
b394beabe0
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      source/native-plugins/zita-common.hpp

+ 11
- 0
source/native-plugins/zita-common.hpp View File

@@ -91,6 +91,17 @@ public:
{
const CarlaMutexLocker cml(fParamMutex);

for (ParamList::Itenerator it = fParamChanges.begin(); it.valid(); it.next())
{
X_handler_Param& param(it.getValue());

if (param.index != index)
continue;

param.value = value;
return;
}

const X_handler_Param param = { index, value };
fParamChanges.append(param);
}


Loading…
Cancel
Save