mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-01 06:10:09 +01:00
Pretty sure this is the fix for the crashing VSTs
This commit is contained in:
@@ -1521,7 +1521,8 @@ VSTEffect::VSTEffect(const wxString & path, VSTEffect *master)
|
|||||||
mTimeInfo.flags = kVstTempoValid | kVstNanosValid;
|
mTimeInfo.flags = kVstTempoValid | kVstNanosValid;
|
||||||
|
|
||||||
// UI
|
// UI
|
||||||
|
|
||||||
|
mGui = false;
|
||||||
mNames = NULL;
|
mNames = NULL;
|
||||||
mSliders = NULL;
|
mSliders = NULL;
|
||||||
mDisplays = NULL;
|
mDisplays = NULL;
|
||||||
@@ -3598,7 +3599,7 @@ void VSTEffect::BuildPlain()
|
|||||||
|
|
||||||
void VSTEffect::RefreshParameters(int skip)
|
void VSTEffect::RefreshParameters(int skip)
|
||||||
{
|
{
|
||||||
if (mGui)
|
if (!mNames)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user