mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-24 08:10:05 +02:00
Keep non-interactive effects from going into a recursive loop.
This commit is contained in:
parent
1da35caa8e
commit
981e6db6ea
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user