summaryrefslogtreecommitdiff
path: root/libs/ardour/export_format_manager.cc
diff options
context:
space:
mode:
authorColin Fletcher <colin.m.fletcher@googlemail.com>2013-10-07 20:28:13 +0100
committerColin Fletcher <colin.m.fletcher@googlemail.com>2013-10-07 20:28:13 +0100
commit2a93f7a25e63c796745c4a34ebc13239382ba2df (patch)
tree9ebc4a503ee4adf8cef24fedc9cdd1fe738fb261 /libs/ardour/export_format_manager.cc
parent8b9a1fae6a580b526b3fc784581e6d0c8031b6db (diff)
Rudimentary post-processing of exported files.
Export format contains a string to be passed to system() after expanding %1, %2, & %3 via string_compose() to the full path & filename, containing directory, and basename respectively. No error-checking or any niceties like that - real programmers will of course always type the command correctly, and know to watch Ardour's standard output for the results...
Diffstat (limited to 'libs/ardour/export_format_manager.cc')
-rw-r--r--libs/ardour/export_format_manager.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/ardour/export_format_manager.cc b/libs/ardour/export_format_manager.cc
index c8bd0c0aa9..3ee940ffb6 100644
--- a/libs/ardour/export_format_manager.cc
+++ b/libs/ardour/export_format_manager.cc
@@ -300,6 +300,14 @@ ExportFormatManager::select_upload (bool value)
check_for_description_change ();
}
+void
+ExportFormatManager::set_command (std::string command)
+{
+ current_selection->set_command (command);
+ check_for_description_change ();
+}
+
+void
ExportFormatManager::select_trim_beginning (bool value)
{
current_selection->set_trim_beginning (value);