1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-10 16:43:33 +02:00

Bug 1934 - Generate audio from Nyquist prompt crash

We now default to Effect (EffectTypeProcess), if no type was specified.
This commit is contained in:
James Crook
2018-08-13 12:29:31 +01:00
parent 11da92d668
commit 3480f5aa3a

View File

@@ -2132,6 +2132,11 @@ bool NyquistEffect::ParseProgram(wxInputStream & stream)
mTrace = false;
mDebugButton = true; // Debug button enabled by default.
mEnablePreview = true; // Preview button enabled by default.
// Bug 1934.
// All Nyquist plug-ins should have a ';type' field, but if they don't we default to
// being an Effect.
mType = EffectTypeProcess;
mFoundType = false;
while (!stream.Eof() && stream.IsOk())