COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Old 06-02-2017, 07:20 AM   #1
br_ck1
Human being with feelings
 
Join Date: Dec 2015
Posts: 39
Default VST3 and Buttons strange behaviour?

Hi ,

anyone noticed that all IControl BUTTONS (ISwitch...,...., etc.) work fine when compiled as VST / AU but not with VST3?

When clicking ONE TIME on an IControl button in a VST3 causes that button to behave as it had been clicked 2 TIMES...

Workaround/fixes ?

Thank you,
br_ck1 is offline   Reply With Quote
Old 06-02-2017, 02:56 PM   #2
earlevel
Human being with feelings
 
Join Date: Dec 2015
Posts: 331
Default

I don't know about VST3.

It may be that it's like AAX. When the AAX host is informed of a parameter change, it updates its stuff, AND sends the parameter change to the plugin. IPlug informs the host (which tells the plague to set the parameter) then sets the parameter, so you get a double dip.

If that's the case, you have to override IPlugBase::SetParameterFromGUI, in IPlugVST3.cpp—copy the base code, but ditch the OnParamChanged call.
earlevel is offline   Reply With Quote
Old 06-03-2017, 08:03 PM   #3
br_ck1
Human being with feelings
 
Join Date: Dec 2015
Posts: 39
Default

Thank you !
br_ck1 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 07:15 PM.


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