mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-05 05:05:43 +01:00
make sure butler thread has thread_local tempo map set up
This commit is contained in:
parent
d2352df523
commit
62ea0fc24c
1 changed files with 2 additions and 0 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue