Remember last used normalization value in the dialogue.

git-svn-id: svn://localhost/ardour2/branches/3.0@7933 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-10-28 17:01:15 +00:00
parent 9f7f0f79a3
commit 6a81cd5f71
2 changed files with 9 additions and 0 deletions

View File

@ -88,3 +88,11 @@ NormalizeDialog::update_progress_gui (float p)
{
_progress_bar->set_fraction (p);
}
int
NormalizeDialog::run ()
{
int const r = ArdourDialog::run ();
_last_normalization_value = target ();
return r;
}

View File

@ -33,6 +33,7 @@ public:
bool normalize_individually () const;
double target () const;
int run ();
private:
void update_progress_gui (float);