mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-21 15:08:01 +02:00
Expose "msg" parameter in Effect::TotalProgress().
This commit is contained in:
parent
473e561f5b
commit
d707f68189
@ -1974,10 +1974,10 @@ void Effect::IncludeNotSelectedPreviewTracks(bool includeNotSelected)
|
|||||||
mPreviewWithNotSelected = includeNotSelected;
|
mPreviewWithNotSelected = includeNotSelected;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Effect::TotalProgress(double frac)
|
bool Effect::TotalProgress(double frac, const wxString &msg)
|
||||||
{
|
{
|
||||||
auto updateResult = (mProgress ?
|
auto updateResult = (mProgress ?
|
||||||
mProgress->Update(frac) :
|
mProgress->Update(frac, msg) :
|
||||||
ProgressResult::Success);
|
ProgressResult::Success);
|
||||||
return (updateResult != ProgressResult::Success);
|
return (updateResult != ProgressResult::Success);
|
||||||
}
|
}
|
||||||
|
@ -330,7 +330,7 @@ protected:
|
|||||||
// is okay, but don't try to undo).
|
// is okay, but don't try to undo).
|
||||||
|
|
||||||
// Pass a fraction between 0.0 and 1.0
|
// Pass a fraction between 0.0 and 1.0
|
||||||
bool TotalProgress(double frac);
|
bool TotalProgress(double frac, const wxString & = wxEmptyString);
|
||||||
|
|
||||||
// Pass a fraction between 0.0 and 1.0, for the current track
|
// Pass a fraction between 0.0 and 1.0, for the current track
|
||||||
// (when doing one track at a time)
|
// (when doing one track at a time)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user