Thread: Linking knobs
View Single Post
Old 12-20-2017, 03:25 AM   #12
Bobflip
Human being with feelings
 
Join Date: Nov 2016
Posts: 341
Default

Not sure offhand what's causing the issue, but just noticed you also changed the 'false' in the SetParameterFromPlug calls to 'mLink'. It's worth looking over the definitions of these functions when you first use them to get a gist of the variables they require.

This one has a comment saying:
// Normalized means the value is in [0, 1].
void ClampControl(int paramIdx, double lo, double hi, bool normalized);
void SetParameterFromPlug(int paramIdx, double value, bool normalized);

Don't think it'll clear your problem up but it's worth correcting anyway.
Bobflip is offline   Reply With Quote