Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Old 09-07-2018, 05:51 AM   #1
Human being with feelings
SaschArt's Avatar
Join Date: Aug 2013
Posts: 187
Default Call order as rule

I can rely on the call order: OnParamChange() then ProcessDoubleReplacing() ?

Or are there situations where ProcessDoubleReplacing() is called before all parameters are called by OnParamChange() ?
Audio VST plugins
SaschArt is offline   Reply With Quote
Old 09-07-2018, 06:10 AM   #2
Human being with feelings
Xenakios's Avatar
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 7,275

I wouldn't assume anything. If it's very critical for you to know, you will have to test it with every host.
For info on SWS Reaper extension plugin (including Xenakios' previous extension/actions) :
Xenakios blog (about HourGlass, Paul(X)Stretch and λ) :
Xenakios is offline   Reply With Quote
Old 09-09-2018, 02:31 AM   #3
Human being with feelings
Tale's Avatar
Join Date: Jul 2008
Location: Holland
Posts: 2,896

Originally Posted by SaschArt View Post
I can rely on the call order: OnParamChange() then ProcessDoubleReplacing() ?
I think you can, because VST2 calls OnParamReset() on effOpen, and AU calls it on kAudioUnitInitializeSelect. I don't know about VST3 or AAX though, but suspect they also call OnParamReset() on init, and therefore before any processing.
Tale is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 06:23 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.