I don't know... But I do know it actually works the other way around: When you click on a switch OnMouseDown() is called, which updates the control value, and then forwards this value to parameter by calling SetDirty(), which in turn calls SetParameterFromGUI().
This always happens, so it should always work, but SetParameterFromGUI() is protected by a mutex lock, so maybe this could be a race condition in Pro Tools? If so, then I would expect this to also happen with other controls, also with other WDL-OL AAX plug-ins.
BTW, is this with a stock ISwitchControl, or a control derived from ISwitchControl? How many states does the switch have?
|