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:
parent
9f7f0f79a3
commit
6a81cd5f71
@ -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;
|
||||
}
|
||||
|
@ -33,6 +33,7 @@ public:
|
||||
|
||||
bool normalize_individually () const;
|
||||
double target () const;
|
||||
int run ();
|
||||
|
||||
private:
|
||||
void update_progress_gui (float);
|
||||
|
Loading…
Reference in New Issue
Block a user