summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorSampo Savolainen <v2@iki.fi>2010-07-14 21:06:12 +0000
committerSampo Savolainen <v2@iki.fi>2010-07-14 21:06:12 +0000
commitfb256229440e0c578705d8c052da22f25a8857de (patch)
tree44c08020497562122cbdea954d8a463699bb8238 /libs
parent8d5abe20d689422590c9bf32b44bcf56e98d227f (diff)
Do special things when freewheeling only when this instance of ardour is exporting.
git-svn-id: svn://localhost/ardour2/branches/3.0@7415 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/audioengine.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/ardour/audioengine.cc b/libs/ardour/audioengine.cc
index fb81ccd144..b2a18e2750 100644
--- a/libs/ardour/audioengine.cc
+++ b/libs/ardour/audioengine.cc
@@ -495,7 +495,11 @@ AudioEngine::process_callback (nframes_t nframes)
(*i)->cycle_start (nframes);
}
- if (_freewheeling) {
+ /* test if we are freewheeling and there are freewheel signals connected.
+ ardour should act normally even when freewheeling unless /it/ is exporting */
+
+
+ if (_freewheeling && !Freewheel.empty()) {
/* emit the Freewheel signal and stop freewheeling in the event of trouble
*/
boost::optional<int> r = Freewheel (nframes);