mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +01:00
Tempo ramps - more click fixing.
This commit is contained in:
parent
94e7e4e53b
commit
ea91593968
1 changed files with 1 additions and 1 deletions
|
|
@ -2641,7 +2641,7 @@ TempoMap::get_grid (vector<TempoMap::BBTPoint>& points,
|
||||||
framepos_t lower, framepos_t upper)
|
framepos_t lower, framepos_t upper)
|
||||||
{
|
{
|
||||||
Glib::Threads::RWLock::ReaderLock lm (lock);
|
Glib::Threads::RWLock::ReaderLock lm (lock);
|
||||||
const int32_t upper_beat = (int32_t) ceil (beat_at_frame_locked (_metrics, upper));
|
const int32_t upper_beat = (int32_t) floor (beat_at_frame_locked (_metrics, upper));
|
||||||
int32_t cnt = ceil (beat_at_frame_locked (_metrics, lower));
|
int32_t cnt = ceil (beat_at_frame_locked (_metrics, lower));
|
||||||
framecnt_t pos = 0;
|
framecnt_t pos = 0;
|
||||||
/* although the map handles negative beats, bbt doesn't. */
|
/* although the map handles negative beats, bbt doesn't. */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue