COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Old 02-18-2017, 06:25 AM   #1
SaschArt
Human being with feelings
 
SaschArt's Avatar
 
Join Date: Aug 2013
Posts: 236
Default All parameters change

Exist a function which call onParamChange(id) for each id ?

Some echivalent with:
Code:
for ( int i=0; i<nrparam; i++) {

OnParamChange(i);
}
__________________
Audio plugins | BrainWaveProducer | EmRysRa
SaschArt is offline   Reply With Quote
Old 02-18-2017, 11:03 AM   #2
earlevel
Human being with feelings
 
Join Date: Dec 2015
Posts: 331
Default

Quote:
Originally Posted by SaschArt View Post
Exist a function which call onParamChange(id) for each id ?
Just a project search away:
Code:
void IPlugBase::OnParamReset()
{
  for (int i = 0; i < mParams.GetSize(); ++i)
  {
    OnParamChange(i);
  }
  //Reset();
}
earlevel is offline   Reply With Quote
Reply

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 01:51 AM.


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