temporal: when resetting the map, position BBT markers in beat time (and stop reset there)
This commit is contained in:
parent
12b672492e
commit
c505024a4b
@ -1275,6 +1275,13 @@ TempoMap::reset_starting_at (superclock_t sc)
|
||||
p->set (sc, metric.meter().quarters_at (p->bbt()), p->bbt());
|
||||
} else {
|
||||
DEBUG_TRACE (DEBUG::MapReset, "\tnot recomputing this one\n");
|
||||
/* Retain the audio time and BBT time for this music
|
||||
time point, but reset the beat time position to
|
||||
reflect the previous tempo & meter.
|
||||
*/
|
||||
p->set (p->sclock(), metric.meter().quarters_at (p->bbt()), p->bbt());
|
||||
/* We reached a BBT marker ... we should stop resetting */
|
||||
break;
|
||||
}
|
||||
|
||||
/* Now ensure that metric is correct moving forward */
|
||||
|
Loading…
Reference in New Issue
Block a user