Quote:
Originally Posted by Xenakios
Initialize your algorithm as needed in the plugin's Reset method.
Your plugin is flawed if it depends for example on being fed silent buffers first before the actual audio. There's nothing in the plugin formats that would require hosts to do that. Your algorithms might need that but you will need to implement that internally in the plugin.
|
Is "Reset()" a function called by the host or is it an internal IPlug thing?
I seem to recall from VST2 that there were "Idle()" and "PreparetoPlay()" functions that WERE called from the host - but not always.
I have been initializing my variables, arrays, etc., in the plugin constructor and updating in the Process() block before the process loop. Is that wrong?