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:
@@ -2133,6 +2133,11 @@ bool NyquistEffect::ParseProgram(wxInputStream & stream)
|
||||
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())
|
||||
{
|
||||
|
Reference in New Issue
Block a user