From 65c8d673a2f88db61c68bf119f9dccbe82efd9ff Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 18 Jan 2012 21:56:06 +0000 Subject: restore ability to create TOC and CUE files during export. this is an option in a given export format, not a per-export choice. so you need export formats with them set (or not) in order to utilize this choice. the resulting CUE/TOC files have not been checked with a burner (e.g. cdrdao) and testing of them would be appreciated - i (paul) have no CD burner h/w git-svn-id: svn://localhost/ardour2/branches/3.0@11266 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/session_export.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libs/ardour/session_export.cc') diff --git a/libs/ardour/session_export.cc b/libs/ardour/session_export.cc index 7737e95279..4f46535a97 100644 --- a/libs/ardour/session_export.cc +++ b/libs/ardour/session_export.cc @@ -178,7 +178,7 @@ Session::process_export (pframes_t nframes) ProcessExport (nframes); } catch (std::exception & e) { - std::cout << e.what() << std::endl; + error << string_compose (_("Export ended unexpectedly: %1"), e.what()) << endmsg; export_status->abort (true); } } @@ -222,6 +222,9 @@ Session::finalize_audio_export () _engine.freewheel (false); export_freewheel_connection.disconnect(); + + /* maybe write CUE/TOC */ + export_handler.reset(); export_status.reset(); -- cgit v1.2.3