13
0

make sure butler thread has thread_local tempo map set up

This commit is contained in:
Paul Davis 2020-11-29 12:49:25 -07:00
parent d2352df523
commit 62ea0fc24c

View File

@ -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");