View Single Post
Old 12-29-2018, 11:02 AM   #7
Nonlinear
Human being with feelings
 
Join Date: Apr 2018
Posts: 396
Default

Quote:
Originally Posted by Xenakios View Post
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?
Nonlinear is offline   Reply With Quote