diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2019-10-28 17:23:54 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2019-10-28 17:23:54 -0600 |
commit | 7d3c2a4feee924ed4e12cd2048ae01a7db2e92a9 (patch) | |
tree | 2dd8542906ae6ae3637274550e9b3da64f310c3b /libs/ardour/ardour/session.h | |
parent | 706a9ab59f070024b50d4f504113eb57fc49d316 (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/ardour/session.h')
-rw-r--r-- | libs/ardour/ardour/session.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index cb2e781ecf..2b56a1dccd 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -1238,7 +1238,7 @@ protected: void set_sample_rate (samplecnt_t nframes); friend class Route; - void update_latency_compensation (bool force = false); + void update_latency_compensation (bool force, bool called_from_backend); /* transport API */ @@ -1401,7 +1401,7 @@ private: boost::scoped_ptr<SessionDirectory> _session_dir; void hookup_io (); - void graph_reordered (); + void graph_reordered (bool called_from_backend); /** current snapshot name, without the .ardour suffix */ void set_snapshot_name (const std::string &); |