summaryrefslogtreecommitdiff
path: root/libs/ardour/export_format_manager.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-05-02 15:28:16 +0200
committerRobin Gareus <robin@gareus.org>2016-05-02 15:44:13 +0200
commitd01cb7910faddbf13b7190ceca990a2cafb71f95 (patch)
tree1d246b6590538ff70621fc28e42445eaa39d4816 /libs/ardour/export_format_manager.cc
parent7547f02c07875ba053e1c095e542f85291d7af5f (diff)
Add loudness normalization to Export Format & Graph
Diffstat (limited to 'libs/ardour/export_format_manager.cc')
-rw-r--r--libs/ardour/export_format_manager.cc25
1 files changed, 23 insertions, 2 deletions
diff --git a/libs/ardour/export_format_manager.cc b/libs/ardour/export_format_manager.cc
index f87a08686f..6554412273 100644
--- a/libs/ardour/export_format_manager.cc
+++ b/libs/ardour/export_format_manager.cc
@@ -343,9 +343,30 @@ ExportFormatManager::select_normalize (bool value)
}
void
-ExportFormatManager::select_normalize_target (float value)
+ExportFormatManager::select_normalize_loudness (bool value)
{
- current_selection->set_normalize_target (value);
+ current_selection->set_normalize_loudness (value);
+ check_for_description_change ();
+}
+
+void
+ExportFormatManager::select_normalize_dbfs (float value)
+{
+ current_selection->set_normalize_dbfs (value);
+ check_for_description_change ();
+}
+
+void
+ExportFormatManager::select_normalize_lufs (float value)
+{
+ current_selection->set_normalize_lufs (value);
+ check_for_description_change ();
+}
+
+void
+ExportFormatManager::select_normalize_dbtp (float value)
+{
+ current_selection->set_normalize_dbtp (value);
check_for_description_change ();
}