diff options
author | Robin Gareus <robin@gareus.org> | 2019-03-18 15:33:05 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-03-18 15:36:58 +0100 |
commit | 4706201425e9ce7d8f4609cb920f4b28f261ee63 (patch) | |
tree | c802301407df9d92f307cd76feccc1bcd9ef2a2c /libs/ardour/session_process.cc | |
parent | bd9d848058cd4b157388e9c8ef2f781554447d2a (diff) |
NO-OP: Use API to set/test state-of-the-state
Diffstat (limited to 'libs/ardour/session_process.cc')
-rw-r--r-- | libs/ardour/session_process.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/session_process.cc b/libs/ardour/session_process.cc index 319634499b..c3eb3aa296 100644 --- a/libs/ardour/session_process.cc +++ b/libs/ardour/session_process.cc @@ -843,9 +843,9 @@ Session::maybe_sync_start (pframes_t & nframes) void Session::queue_event (SessionEvent* ev) { - if (_state_of_the_state & Deletion) { + if (deletion_in_progress ()) { return; - } else if (_state_of_the_state & Loading) { + } else if (loading ()) { merge_event (ev); } else { Glib::Threads::Mutex::Lock lm (rb_write_lock); |