These generators don't support chains, so don't say they do

This commit is contained in:
lllucius 2015-01-01 10:34:48 +00:00
parent 02717da3a2
commit 0c447f3108
3 changed files with 15 additions and 0 deletions

View File

@ -51,6 +51,11 @@ class EffectDtmf : public Generator {
return wxString(wxT("DTMF Tones"));
}
// Return true if the effect supports processing via batch chains.
virtual bool SupportsChains() {
return false;
}
virtual wxString GetEffectDescription() {
return wxString::Format(_("Applied effect: Generate DTMF tones, %.6lf seconds"), mDuration);
}

View File

@ -54,6 +54,11 @@ class EffectNoise : public BlockGenerator {
return wxString(wxT("Noise"));
}
// Return true if the effect supports processing via batch chains.
virtual bool SupportsChains() {
return false;
}
virtual wxString GetEffectDescription() {
return wxString::Format(_("Applied effect: Generate Noise, %.6lf seconds"), mDuration);
}

View File

@ -54,6 +54,11 @@ class EffectToneGen : public BlockGenerator {
return wxString(mbChirp? _("Generating Chirp") : _("Generating Tone"));
}
// Return true if the effect supports processing via batch chains.
virtual bool SupportsChains() {
return false;
}
// Useful only after PromptUser values have been set.
virtual wxString GetEffectDescription();