diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-10-02 16:29:58 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-10-02 22:08:14 -0400 |
commit | 64b4877ef64b764ef44e758661606ef0f08c0e8a (patch) | |
tree | dcc084704ad02cc788c6f3d16fbcb162a9ea47bf /libs/ardour | |
parent | a05e48dab0bd406a83ca69da2a1c5f2e6350b1c4 (diff) |
the return of the 1 second fade out at session close
Diffstat (limited to 'libs/ardour')
-rw-r--r-- | libs/ardour/audioengine.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/ardour/audioengine.cc b/libs/ardour/audioengine.cc index c5e2f17d47..8aa89fa42c 100644 --- a/libs/ardour/audioengine.cc +++ b/libs/ardour/audioengine.cc @@ -282,6 +282,8 @@ AudioEngine::process_callback (pframes_t nframes) if (session_remove_pending) { + cerr << "SRP, countdown = " << session_removal_countdown << endl; + /* perform the actual session removal */ if (session_removal_countdown < 0) { @@ -613,7 +615,8 @@ AudioEngine::remove_session () if (_session) { session_remove_pending = true; - session_removal_countdown = 0; + /* signal the start of the fade out countdown */ + session_removal_countdown = -1; session_removed.wait(_process_lock); } |