summaryrefslogtreecommitdiff
path: root/libs/ardour/session_process.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-03-18 15:33:05 +0100
committerRobin Gareus <robin@gareus.org>2019-03-18 15:36:58 +0100
commit4706201425e9ce7d8f4609cb920f4b28f261ee63 (patch)
treec802301407df9d92f307cd76feccc1bcd9ef2a2c /libs/ardour/session_process.cc
parentbd9d848058cd4b157388e9c8ef2f781554447d2a (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.cc4
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);