mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-11 17:13:37 +02:00
Keep non-interactive effects from going into a recursive loop.
This commit is contained in:
@@ -38,6 +38,10 @@ class EffectFadeIn: public EffectSimpleMono {
|
||||
return wxString(_("Fading In"));
|
||||
}
|
||||
|
||||
virtual bool PromptUser() {
|
||||
return true;
|
||||
}
|
||||
|
||||
protected:
|
||||
sampleCount mSample;
|
||||
sampleCount mLen;
|
||||
@@ -68,6 +72,10 @@ class EffectFadeOut:public EffectSimpleMono {
|
||||
return wxString(_("Fading Out"));
|
||||
}
|
||||
|
||||
virtual bool PromptUser() {
|
||||
return true;
|
||||
}
|
||||
|
||||
protected:
|
||||
sampleCount mSample;
|
||||
sampleCount mLen;
|
||||
|
@@ -41,6 +41,10 @@ class EffectInvert:public EffectSimpleMono {
|
||||
return wxString(_("Inverting"));
|
||||
}
|
||||
|
||||
virtual bool PromptUser() {
|
||||
return true;
|
||||
}
|
||||
|
||||
protected:
|
||||
virtual bool ProcessSimpleMono(float *buffer, sampleCount len);
|
||||
};
|
||||
|
@@ -44,6 +44,10 @@ class EffectReverse:public Effect {
|
||||
return wxString(_("Reversing"));
|
||||
}
|
||||
|
||||
virtual bool PromptUser() {
|
||||
return true;
|
||||
}
|
||||
|
||||
virtual bool Process();
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user