View Single Post
Old 02-16-2018, 08:20 PM   #1
Guod3
Human being with feelings
 
Guod3's Avatar
 
Join Date: Jan 2008
Posts: 506
Default IPlug program structures

I've been coding some plugins that have various controls that don't interact with the DAW as standard parameters(ie. paramIdx==-1 when instantiating the control) because I don't want their state restored or automated by the DAW.
This means there's no OnParamterChange called when the control is touched. In one situation I tested a flag variable in ProcessReplacing to detect and respond to an event. The processing at this point was very light and everything works well.
In the current project a button opens a file dialog which suspends the thread which is obviously no good for ProcessReplacing.
So my question is how to detect and service events from non-DAW parameter controls?
Guod3 is offline   Reply With Quote