make sure butler thread has thread_local tempo map set up
This commit is contained in:
parent
d2352df523
commit
62ea0fc24c
@ -32,6 +32,7 @@
|
|||||||
#include "pbd/pthread_utils.h"
|
#include "pbd/pthread_utils.h"
|
||||||
|
|
||||||
#include "temporal/superclock.h"
|
#include "temporal/superclock.h"
|
||||||
|
#include "temporal/tempo.h"
|
||||||
|
|
||||||
#include "ardour/butler.h"
|
#include "ardour/butler.h"
|
||||||
#include "ardour/debug.h"
|
#include "ardour/debug.h"
|
||||||
@ -211,6 +212,7 @@ Butler::thread_work ()
|
|||||||
}
|
}
|
||||||
|
|
||||||
Temporal::_thread_sample_rate = _session.sample_rate ();
|
Temporal::_thread_sample_rate = _session.sample_rate ();
|
||||||
|
Temporal::TempoMap::fetch ();
|
||||||
|
|
||||||
restart:
|
restart:
|
||||||
DEBUG_TRACE (DEBUG::Butler, "at restart for disk work\n");
|
DEBUG_TRACE (DEBUG::Butler, "at restart for disk work\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user