Unconditionally update parameters in RT

TODO: see if Bus.touched can help ameloriate the cost of doing this
nix
Owen Green 5 years ago
parent 41815a8da0
commit d54e153fd4

@ -128,12 +128,12 @@ namespace impl{
bool shouldProcess = IsModel_t<Client>::value ? trig : true; bool shouldProcess = IsModel_t<Client>::value ? trig : true;
mPrevTrig = trig; mPrevTrig = trig;
if(shouldProcess) // if(shouldProcess)
{ // {
// controls.reset(unit.mInBuf + unit.mSpecialIndex + 1); // controls.reset(unit.mInBuf + unit.mSpecialIndex + 1);
Wrapper::setParams(&unit, params, controls); Wrapper::setParams(&unit, params, controls);
params.constrainParameterValues(); params.constrainParameterValues();
} // }
for (index i = 0; i < client.audioChannelsIn(); ++i) for (index i = 0; i < client.audioChannelsIn(); ++i)
{ {

Loading…
Cancel
Save