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 {