diff options
author | Robin Gareus <robin@gareus.org> | 2016-08-13 14:50:59 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-08-13 14:50:59 +0200 |
commit | 836693036a51965721fd2d86847bd8af64863158 (patch) | |
tree | 8c402bc22a1e0bc0cd74ceacdc284d52a8cd9bf1 /gtk2_ardour/normalize_dialog.h | |
parent | fc272ef9d7cc224d9558809b8d473882df48d2df (diff) |
add RMS region normalization option
Diffstat (limited to 'gtk2_ardour/normalize_dialog.h')
-rw-r--r-- | gtk2_ardour/normalize_dialog.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/gtk2_ardour/normalize_dialog.h b/gtk2_ardour/normalize_dialog.h index 71ca030416..53b9e71b37 100644 --- a/gtk2_ardour/normalize_dialog.h +++ b/gtk2_ardour/normalize_dialog.h @@ -32,17 +32,24 @@ public: NormalizeDialog (bool); bool normalize_individually () const; - double target () const; + bool constrain_rms () const; + double target_peak () const; + double target_rms () const; int run (); private: void update_progress_gui (float); void button_clicked (int); + void update_sensitivity (); 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; + static double _last_rms_target_value; static bool _last_normalize_individually; + static bool _last_constrain_rms; }; |