Thread: Linking knobs
View Single Post
Old 12-19-2017, 11:15 AM   #7
Tunca
Human being with feelings
 
Join Date: Apr 2016
Posts: 181
Default

Oh sorry.

Here is my codes...

Code:
    int Link = GetParam(kLink)->Value();
    if (Link == 0)
      mLink =  false;
    else if (Link == 1)
      mLink = true;
Code:
GetParam(kGainLL)->SetIsMeta(mLink);
GetParam(kGainLR)->SetIsMeta(mLink);
Code:
case kGainLL: 
	GetGUI()->SetParameterFromPlug(kGainLR, GetParam(kGainLL)->Value(), mLink);

case kGainLR: 
	GetGUI()->SetParameterFromPlug(kGainLL, GetParam(kGainLR)->Value(), mLink);
Tunca is offline   Reply With Quote