mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
fetch thread local tempo map in potential peak-building threads
This commit is contained in:
parent
4825d67c4a
commit
bbb0b78a50
3 changed files with 9 additions and 2 deletions
|
|
@ -32,6 +32,8 @@
|
|||
#include "pbd/convert.h"
|
||||
#include "pbd/signals.h"
|
||||
|
||||
#include "temporal/tempo.h"
|
||||
|
||||
#include "ardour/types.h"
|
||||
#include "ardour/dB.h"
|
||||
#include "ardour/lmath.h"
|
||||
|
|
@ -884,6 +886,8 @@ WaveView::process_draw_request (boost::shared_ptr<WaveViewDrawRequest> req)
|
|||
return;
|
||||
}
|
||||
|
||||
(void) Temporal::TempoMap::fetch();
|
||||
|
||||
WaveViewProperties const& props = req->image->props;
|
||||
|
||||
const int n_peaks = props.get_width_pixels ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue