mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
fix incorrect audio-locked tempo position when setting bbt via tempo dialog.
This commit is contained in:
parent
dbbe65777f
commit
d8cabc67d9
1 changed files with 4 additions and 0 deletions
|
|
@ -3072,6 +3072,10 @@ TempoMap::predict_tempo_position (TempoSection* section, const BBT_Time& bbt)
|
|||
|
||||
const double beat = beat_at_bbt_locked (future_map, bbt);
|
||||
|
||||
if (section->position_lock_style() == AudioTime) {
|
||||
tempo_copy->set_position_lock_style (MusicTime);
|
||||
}
|
||||
|
||||
if (solve_map_pulse (future_map, tempo_copy, pulse_at_beat_locked (future_map, beat))) {
|
||||
ret.first = tempo_copy->pulse();
|
||||
ret.second = tempo_copy->frame();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue