projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update GUI, use/remove meta-data methods that have been migrated to the backend
[ardour.git]
/
gtk2_ardour
/
normalize_dialog.h
diff --git
a/gtk2_ardour/normalize_dialog.h
b/gtk2_ardour/normalize_dialog.h
index 71ca0304160e924bb06f19a33dca186a21a6c091..d3fb2a013bc804a810e1aaf146ad8bf89bac9ea8 100644
(file)
--- a/
gtk2_ardour/normalize_dialog.h
+++ b/
gtk2_ardour/normalize_dialog.h
@@
-32,17
+32,28
@@
public:
NormalizeDialog (bool);
bool normalize_individually () const;
NormalizeDialog (bool);
bool normalize_individually () const;
- double target () const;
+ bool constrain_rms () const;
+ double target_peak () const;
+ double target_rms () const;
int run ();
int run ();
+ void on_response (int response_id) {
+ Gtk::Dialog::on_response (response_id);
+ }
+
private:
void update_progress_gui (float);
void button_clicked (int);
private:
void update_progress_gui (float);
void button_clicked (int);
+ void update_sensitivity ();
Gtk::RadioButton* _normalize_individually;
Gtk::RadioButton* _normalize_individually;
- Gtk::SpinButton* _spin;
+ Gtk::CheckButton* _constrain_rms;
+ Gtk::SpinButton* _spin_peak;
+ Gtk::SpinButton* _spin_rms;
Gtk::ProgressBar* _progress_bar;
static double _last_normalization_value;
Gtk::ProgressBar* _progress_bar;
static double _last_normalization_value;
+ static double _last_rms_target_value;
static bool _last_normalize_individually;
static bool _last_normalize_individually;
+ static bool _last_constrain_rms;
};
};