diff options
author | Robin Gareus <robin@gareus.org> | 2016-02-09 13:15:54 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-02-09 13:15:54 +0100 |
commit | c00a07e811406bfd7698f232637ecec07439fb6b (patch) | |
tree | fb18c64489fa561f313229fa65b20bf036b90dea /libs/ardour/export_handler.cc | |
parent | a1d2c1307782a1fe7dfae57e36ab480e9efbb189 (diff) |
detailed export state, prepare resolution for #6512
(Post-processing step should announce itself during an export)
Diffstat (limited to 'libs/ardour/export_handler.cc')
-rw-r--r-- | libs/ardour/export_handler.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libs/ardour/export_handler.cc b/libs/ardour/export_handler.cc index f53f270918..71f79b793c 100644 --- a/libs/ardour/export_handler.cc +++ b/libs/ardour/export_handler.cc @@ -272,9 +272,9 @@ ExportHandler::process_normalize () { if (graph_builder->process_normalize ()) { finish_timespan (); - export_status->normalizing = false; + export_status->active_job = ExportStatus::Exporting; } else { - export_status->normalizing = true; + export_status->active_job = ExportStatus::Normalizing; } export_status->current_normalize_cycle++; @@ -316,6 +316,7 @@ ExportHandler::finish_timespan () * TODO: check Umlauts and encoding in filename. * TagLib eventually calls CreateFileA(), */ + export_status->active_job = ExportStatus::Tagging; graph_builder->reset (); AudiofileTagger::tag_file(filename, *SessionMetadata::Metadata()); } @@ -330,7 +331,7 @@ ExportHandler::finish_timespan () ... }; #endif - + export_status->active_job = ExportStatus::Command; PBD::ScopedConnection command_connection; std::map<char, std::string> subs; subs.insert (std::pair<char, std::string> ('f', filename)); |