use a note tracker to resolve notes cut off during render by the end of the region
[ardour.git] / libs / ardour / export_failed.cc
1 /*
2  * Copyright (C) 2010 Carl Hetherington <carl@carlh.net>
3  * Copyright (C) 2013 Robin Gareus <robin@gareus.org>
4  * Copyright (C) 2016 Paul Davis <paul@linuxaudiosystems.com>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License along
17  * with this program; if not, write to the Free Software Foundation, Inc.,
18  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19  */
20
21 #include "pbd/error.h"
22 #include "ardour/export_failed.h"
23
24 #include "pbd/i18n.h"
25
26 using namespace std;
27 using namespace ARDOUR;
28
29 ExportFailed::ExportFailed (string const & reason)
30         : reason (reason.c_str())
31 {
32         PBD::error << string_compose (_("Export failed: %1"), reason) << endmsg;
33 }