mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-14 08:35:46 +01: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"));
|
return wxString(_("Fading In"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
virtual bool PromptUser() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
sampleCount mSample;
|
sampleCount mSample;
|
||||||
sampleCount mLen;
|
sampleCount mLen;
|
||||||
@@ -68,6 +72,10 @@ class EffectFadeOut:public EffectSimpleMono {
|
|||||||
return wxString(_("Fading Out"));
|
return wxString(_("Fading Out"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
virtual bool PromptUser() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
sampleCount mSample;
|
sampleCount mSample;
|
||||||
sampleCount mLen;
|
sampleCount mLen;
|
||||||
|
|||||||
@@ -41,6 +41,10 @@ class EffectInvert:public EffectSimpleMono {
|
|||||||
return wxString(_("Inverting"));
|
return wxString(_("Inverting"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
virtual bool PromptUser() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual bool ProcessSimpleMono(float *buffer, sampleCount len);
|
virtual bool ProcessSimpleMono(float *buffer, sampleCount len);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -44,6 +44,10 @@ class EffectReverse:public Effect {
|
|||||||
return wxString(_("Reversing"));
|
return wxString(_("Reversing"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
virtual bool PromptUser() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
virtual bool Process();
|
virtual bool Process();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|||||||
Reference in New Issue
Block a user