I find the 'adelay' in VST DSK 2.4 cannot support setProgram!
I try to test whether the method 'setProgram' is executed when I select a program in the program list.
At the end of the method "void ADelay::setProgram (long program)", I insert the following line:
MessageBox(NULL,"!!!","",0);
Because I think if the method is executed, I would see the message box popupped.
After I update the dll, I see the message popupped during the Nuendo is launching.
Then I insert adelay into an insert slot of an audio track, I see the message too.
But when I select a program from the program list of adelay, I could not see the message any more. (I think it should be poppuped in this condition!!)
Why?
And How can I make it work?
I do the same things in VST DSK 2.3' delay, and I see the message when selecting programs.
setProgram doesn't work in VST SDK 2.4?
-
- KVRer
- 23 posts since 29 Jul, 2004
-
- KVRist
- 38 posts since 21 Jun, 2006 from Los Angeles
Hi, change
void ADelay::setProgram(long program)
to
ADelay::setProgram(VstInt32 program)
then it should work..
void ADelay::setProgram(long program)
to
ADelay::setProgram(VstInt32 program)
then it should work..
-
- KVRer
- Topic Starter
- 23 posts since 29 Jul, 2004
Oh!
The derived member method is not the same type as its parent class!
The derived member method is not the same type as its parent class!
-
- KVRer
- Topic Starter
- 23 posts since 29 Jul, 2004
Thanks!!
-
virtualinsanity virtualinsanity https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=102898
- KVRist
- 333 posts since 27 Mar, 2006 from Hamburg, Germany
And what if it doesn't even work in vst 2.3?
The host(Cubase SE3) simply doesn't call it when changing programs, but calls setParameter for all the parameters instead. I thought I understood the principle, but obviously I did not...
Shouldn't setProgram(long program) be called everytime you change your program? Or is "preset" something different?
Thank you, I'm sorry my questions will never end.
Sören
The host(Cubase SE3) simply doesn't call it when changing programs, but calls setParameter for all the parameters instead. I thought I understood the principle, but obviously I did not...
Shouldn't setProgram(long program) be called everytime you change your program? Or is "preset" something different?
Thank you, I'm sorry my questions will never end.
Sören
und doch, doch, und doooooch!
