summaryrefslogtreecommitdiff
path: root/libs/ardour/session_state.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2019-10-28 17:23:54 -0600
committerPaul Davis <paul@linuxaudiosystems.com>2019-10-28 17:23:54 -0600
commit7d3c2a4feee924ed4e12cd2048ae01a7db2e92a9 (patch)
tree2dd8542906ae6ae3637274550e9b3da64f310c3b /libs/ardour/session_state.cc
parent706a9ab59f070024b50d4f504113eb57fc49d316 (diff)
provide a mechanism to decide if Session::update_latency_compensation() is being called as part of a callback from the backend.
If it is, do not call AudioEngine::update_latencies() to avoid JACK1-style deadlock
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r--libs/ardour/session_state.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc
index dacda4d9ae..7dde0047da 100644
--- a/libs/ardour/session_state.cc
+++ b/libs/ardour/session_state.cc
@@ -280,7 +280,7 @@ Session::post_engine_init ()
/* crossfades require sample rate knowledge */
SndFileSource::setup_standard_crossfades (*this, sample_rate());
- _engine.GraphReordered.connect_same_thread (*this, boost::bind (&Session::graph_reordered, this));
+ _engine.GraphReordered.connect_same_thread (*this, boost::bind (&Session::graph_reordered, this, false));
_engine.MidiSelectionPortsChanged.connect_same_thread (*this, boost::bind (&Session::rewire_midi_selection_ports, this));
DiskReader::allocate_working_buffers();