* Add quotes to cuefile filename entries
git-svn-id: svn://localhost/ardour2/branches/3.0@4098
d708f5d6-7413-0410-9779-
e7cbd77b26cf
sigc::signal<void> Finished;
void finish ();
- bool finished () const { return _aborted; }
+ bool finished () const { return _finished; }
/* Progress info */
if (!status.format->format_name().compare ("WAV")) {
status.out << "FILE " << status.filename << " WAVE" << endl;
} else {
- status.out << "FILE " << status.filename << ' ' << status.format->format_name() << endl;
+ status.out << "FILE \"" << status.filename << "\" " << status.format->format_name() << endl;
}
}
_exporting = true;
export_status->running = true;
export_abort_connection = export_status->Aborting.connect (sigc::hide_return (sigc::mem_fun (*this, &Session::stop_audio_export)));
+ export_abort_connection = export_status->Finished.connect (sigc::hide_return (sigc::mem_fun (*this, &Session::finalize_audio_export)));
return 0;
}
if (!export_status->aborted()) {
ExportReadFinished ();
- }
-
- if (export_status->finished()) {
+ } else {
finalize_audio_export ();
}