View Single Post
Old 09-07-2020, 03:11 PM   #17
Nonlinear
Human being with feelings
 
Join Date: Apr 2018
Posts: 352
Default

After further digging I now understand what is going on.

My iSwitchControl sets a parameter (audio Process/Bypass) which is checked in my ProcessReplacing() GUI update section. If "bypassed" I set all meters and display controls to 0, otherwise I update them.

If that switch control is changed (by user input or automation) during the display update it's redraw is interrupted and never takes place. If I check IsDirty() for the switch control after that happens it shows "true". If I then force a redraw of the control it updates and matches the parameter value.

So, now the question, why is updating the display controls in ProcessReplacing() interfering with pending redraw of the changed parameter control? Does this point back to a mutex lock issue - or something more obvious?

Last edited by Nonlinear; 09-07-2020 at 04:09 PM.
Nonlinear is offline   Reply With Quote