From 25053fa3effb786e3045007b7229605acaee9eec Mon Sep 17 00:00:00 2001 From: Sampo Savolainen Date: Wed, 14 Jul 2010 21:02:57 +0000 Subject: [PATCH] Make sure ardour acts accordingly when freewheeling but not exporting. git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@7414 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/audioengine.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libs/ardour/audioengine.cc b/libs/ardour/audioengine.cc index 802cbabd00..ac89c2e82d 100644 --- a/libs/ardour/audioengine.cc +++ b/libs/ardour/audioengine.cc @@ -332,7 +332,10 @@ AudioEngine::process_callback (nframes_t nframes) IO::CycleStart (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()) { if (Freewheel (nframes)) { jack_set_freewheel (_priv_jack, false); }