fix vst memory corruption
This commit is contained in:
parent
23528169c5
commit
0713b0d02d
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@
|
||||||
struct plugin : public AudioEffectX
|
struct plugin : public AudioEffectX
|
||||||
{
|
{
|
||||||
plugin(audioMasterCallback audioMaster);
|
plugin(audioMasterCallback audioMaster);
|
||||||
~plugin();
|
virtual ~plugin();
|
||||||
|
|
||||||
void resume();
|
void resume();
|
||||||
void suspend();
|
void suspend();
|
||||||
|
@ -36,7 +36,7 @@ struct plugin : public AudioEffectX
|
||||||
void getParameterDisplay(VstInt32, char *); // eg. -3.3
|
void getParameterDisplay(VstInt32, char *); // eg. -3.3
|
||||||
void getParameterLabel(VstInt32, char *); // eg. dB
|
void getParameterLabel(VstInt32, char *); // eg. dB
|
||||||
|
|
||||||
char programName[kVstMaxProgNameLen];
|
char programName[kVstMaxProgNameLen + 1];
|
||||||
|
|
||||||
Param *params;
|
Param *params;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue