mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-16 16:20:50 +02:00
incremental improvement to at least alert the user in cases where this effect obviously does nothing
This commit is contained in:
parent
dc0884c7f5
commit
37603b74e8
@ -161,7 +161,11 @@ bool EffectClickRemoval::ProcessOne(int count, WaveTrack * track, sampleCount st
|
|||||||
// in the result, but no alert to the user.
|
// in the result, but no alert to the user.
|
||||||
if (len <= windowSize/2)
|
if (len <= windowSize/2)
|
||||||
{
|
{
|
||||||
wxMessageBox(wxString::Format(_("Error: Selection must be larger than %d samples"), windowSize/2));
|
wxMessageBox(
|
||||||
|
wxString::Format(_("Selection must be larger than %d samples."), windowSize/2),
|
||||||
|
_("Click Removal"),
|
||||||
|
wxOK | wxICON_ERROR
|
||||||
|
);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user