summaryrefslogtreecommitdiff
path: root/libs/ardour/session_export.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-10-14 16:10:01 +0000
committerDavid Robillard <d@drobilla.net>2009-10-14 16:10:01 +0000
commitbb9cc45cd22af67ac275a5e73accbe14fee664d8 (patch)
treee52977d3eae6ff07b856088041a080a2fa3e5b79 /libs/ardour/session_export.cc
parent8c4ce1e2ce35571aed5a686671431fdfffae7f8c (diff)
Strip trailing whitespace and fix other whitespace errors (e.g. space/tab mixing). Whitespace changes only.
Vimmers, try let c_space_errors = 1 in your .vimrc to highlight this kind of stuff in red. I don't know the emacs equivalent... git-svn-id: svn://localhost/ardour2/branches/3.0@5773 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_export.cc')
-rw-r--r--libs/ardour/session_export.cc30
1 files changed, 15 insertions, 15 deletions
diff --git a/libs/ardour/session_export.cc b/libs/ardour/session_export.cc
index 7982f89507..77f0d89d97 100644
--- a/libs/ardour/session_export.cc
+++ b/libs/ardour/session_export.cc
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1999-2008 Paul Davis
+ Copyright (C) 1999-2008 Paul Davis
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -44,7 +44,7 @@ Session::get_export_handler ()
if (!export_handler) {
export_handler.reset (new ExportHandler (*this));
}
-
+
return export_handler;
}
@@ -54,7 +54,7 @@ Session::get_export_status ()
if (!export_status) {
export_status.reset (new ExportStatus ());
}
-
+
return export_status;
}
@@ -88,7 +88,7 @@ Session::pre_export ()
post_export_position = _transport_frame;
Config->set_slave_source (None);
-
+
_exporting = true;
export_status->running = true;
export_status->Aborting.connect (sigc::hide_return (sigc::mem_fun (*this, &Session::stop_audio_export)));
@@ -125,7 +125,7 @@ Session::start_audio_export (nframes_t position, bool realtime)
*/
_transport_frame = position;
-
+
_exporting_realtime = realtime;
export_status->stop = false;
@@ -141,7 +141,7 @@ Session::start_audio_export (nframes_t position, bool realtime)
post_transport ();
/* we are ready to go ... */
-
+
if (!_engine.connected()) {
return -1;
}
@@ -166,21 +166,21 @@ Session::process_export (nframes_t nframes)
stop_audio_export ();
return;
}
-
+
if (!_exporting_realtime) {
/* make sure we've caught up with disk i/o, since
we're running faster than realtime c/o JACK.
*/
-
+
wait_till_butler_finished ();
}
-
+
/* do the usual stuff */
-
+
process_without_events (nframes);
-
+
/* handle export */
-
+
ProcessExport (nframes);
} catch (ExportFailed e) {
@@ -191,7 +191,7 @@ Session::process_export (nframes_t nframes)
int
Session::process_export_fw (nframes_t nframes)
{
- process_export (nframes);
+ process_export (nframes);
return 0;
}
@@ -217,7 +217,7 @@ Session::stop_audio_export ()
} else {
finalize_audio_export ();
}
-
+
return 0;
}
@@ -234,7 +234,7 @@ Session::finalize_audio_export ()
}
/* Clean up */
-
+
ProcessExport.clear();
ExportReadFinished.clear();
export_freewheel_connection.disconnect();