summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/export_handler.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-03-05 20:18:54 +0100
committerRobin Gareus <robin@gareus.org>2020-03-06 01:49:44 +0100
commit18514408637c9b49a1858443a4f1a37023244599 (patch)
treeb640ccf40bc2ed28fd011eb4fb4a2808850f2c78 /libs/ardour/ardour/export_handler.h
parent128a45954cfbfeaa0fd70c626a5d0c3c86e2ff7a (diff)
Fix realtime export of multiple time-spans
After exporting a time-span, the next time-span was started directly from the rt-callback. This had various issues. In particular with realtime export. Post-processing of a realtime-export enables freewheeling and is driven by freewheel callbacks. Freewheeling needs to be safely disabled for an upcoming realtime export. A similar issues existed when mixing realtime and non-realtime exports.
Diffstat (limited to 'libs/ardour/ardour/export_handler.h')
-rw-r--r--libs/ardour/ardour/export_handler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/ardour/export_handler.h b/libs/ardour/ardour/export_handler.h
index 1178eb9e79..d270f4d82d 100644
--- a/libs/ardour/ardour/export_handler.h
+++ b/libs/ardour/ardour/export_handler.h
@@ -146,6 +146,8 @@ class LIBARDOUR_API ExportHandler : public ExportElementFactory, public sigc::tr
/* Timespan management */
+ static void* start_timespan_bg (void*);
+
void start_timespan ();
int process_timespan (samplecnt_t samples);
int post_process ();