From 62ea0fc24cd26838f9423e1c619e10f14acda3b2 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 29 Nov 2020 12:49:25 -0700 Subject: [PATCH] make sure butler thread has thread_local tempo map set up --- libs/ardour/butler.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/ardour/butler.cc b/libs/ardour/butler.cc index afa4b8b026..057077ad0d 100644 --- a/libs/ardour/butler.cc +++ b/libs/ardour/butler.cc @@ -32,6 +32,7 @@ #include "pbd/pthread_utils.h" #include "temporal/superclock.h" +#include "temporal/tempo.h" #include "ardour/butler.h" #include "ardour/debug.h" @@ -211,6 +212,7 @@ Butler::thread_work () } Temporal::_thread_sample_rate = _session.sample_rate (); + Temporal::TempoMap::fetch (); restart: DEBUG_TRACE (DEBUG::Butler, "at restart for disk work\n");