summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/ardour/ardour/export_handler.h2
-rw-r--r--libs/ardour/export_handler.cc7
2 files changed, 9 insertions, 0 deletions
diff --git a/libs/ardour/ardour/export_handler.h b/libs/ardour/ardour/export_handler.h
index 352451c4a3..d9d268af01 100644
--- a/libs/ardour/ardour/export_handler.h
+++ b/libs/ardour/ardour/export_handler.h
@@ -124,6 +124,8 @@ class LIBARDOUR_API ExportHandler : public ExportElementFactory, public sigc::tr
bool soundcloud_open_page;
bool soundcloud_downloadable;
+ void reset ();
+
private:
void handle_duplicate_format_extensions();
diff --git a/libs/ardour/export_handler.cc b/libs/ardour/export_handler.cc
index df74bda065..3cad72c8d9 100644
--- a/libs/ardour/export_handler.cc
+++ b/libs/ardour/export_handler.cc
@@ -465,6 +465,13 @@ ExportHandler::finish_timespan ()
start_timespan ();
}
+void
+ExportHandler::reset ()
+{
+ config_map.clear ();
+ graph_builder->reset ();
+}
+
/*** CD Marker stuff ***/
struct LocationSortByStart {