COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :

Go Back   Cockos Incorporated Forums > Other Software Discussion > WDL users forum

Reply
 
Thread Tools Display Modes
Old 05-08-2020, 04:37 AM   #1
SaschArt
Human being with feelings
 
SaschArt's Avatar
 
Join Date: Aug 2013
Posts: 236
Default Find how many params was stored in host

For a plugin update that has more parameters than the previous version, I want to restore the settings.

I don't want to use Serialize/Unserialize with version, I'm thinking of comparing the number of parameters saved on the host.

I can find the number of parameters that have been saved in the host? Only VSTCALLBACK IPlugVST :: VSTSetParameter is called when the parameters saved in the host are restored?
__________________
Audio plugins | BrainWaveProducer | EmRysRa
SaschArt is offline   Reply With Quote
Old 05-09-2020, 12:50 AM   #2
SaschArt
Human being with feelings
 
SaschArt's Avatar
 
Join Date: Aug 2013
Posts: 236
Default

Another possible option is to make a procedure to get one value of a parameter stored on the host, somewhere in IPlugVST.cpp.

Can this be done?
__________________
Audio plugins | BrainWaveProducer | EmRysRa
SaschArt 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 04:32 AM.


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