the return of the 1 second fade out at session close
This commit is contained in:
parent
a05e48dab0
commit
64b4877ef6
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user