2 Copyright (C) 2006 Paul Davis
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 #include "ardour_ui.h"
22 #include "export_session_dialog.h"
26 ExportSessionDialog::ExportSessionDialog (PublicEditor
& editor
)
27 : ExportDialog(editor
)
29 file_frame
.set_label (_("Export to File"));
33 ExportSessionDialog::export_audio_data ()
35 if (getSession().start_audio_export (spec
)) {
39 gtk_main_iteration ();
40 while (spec
.running
) {
41 if (gtk_events_pending()) {
42 gtk_main_iteration ();
51 ExportSessionDialog::set_range (nframes_t start
, nframes_t end
)
53 ExportDialog::set_range (start
, end
);
55 // XXX: this is a hack until we figure out what is really wrong
56 getSession().request_locate (spec
.start_frame
, false);