to avoid deadlock in JACK1 scenarios, do not invoke AudioEngine::update_latencies() from update_latency_compensation() if called from a process thread
This commit is contained in:
parent
6b654039fb
commit
b97e2d5013
|
@ -6534,6 +6534,9 @@ Session::update_latency_compensation (bool force_whole_graph)
|
|||
* those cases this call will return until the backend latency
|
||||
* callback is complete.
|
||||
*/
|
||||
if (!AudioEngine::instance()->in_process_thread()) {
|
||||
_engine.update_latencies ();
|
||||
}
|
||||
} else {
|
||||
DEBUG_TRACE (DEBUG::LatencyCompensation, "update_latency_compensation: directly apply to routes\n");
|
||||
boost::shared_ptr<RouteList> r = routes.reader ();
|
||||
|
|
Loading…
Reference in New Issue
Block a user