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
This commit is contained in:
Sampo Savolainen 2010-07-14 21:02:57 +00:00
parent 60ee51a0e8
commit 25053fa3ef

View file

@ -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);
}