mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
fix 'snap to beat' havoc-causing misplaced bracket.
- should fix 7234
This commit is contained in:
parent
751662241a
commit
50fc9e0d0f
1 changed files with 1 additions and 1 deletions
|
|
@ -3591,7 +3591,7 @@ TempoMap::exact_qn_at_frame_locked (const Metrics& metrics, const framepos_t& fr
|
|||
qn = floor (qn) + (floor (((qn - floor (qn)) * (double) sub_num) + 0.5) / sub_num);
|
||||
} else if (sub_num == 1) {
|
||||
/* the gui requested exact musical (BBT) beat */
|
||||
qn = pulse_at_beat_locked (metrics, (floor (beat_at_minute_locked (metrics, minute_at_frame (frame)) + 0.5)) * 4.0);
|
||||
qn = pulse_at_beat_locked (metrics, (floor (beat_at_minute_locked (metrics, minute_at_frame (frame)) + 0.5))) * 4.0;
|
||||
} else if (sub_num == -1) {
|
||||
/* snap to bar */
|
||||
Timecode::BBT_Time bbt = bbt_at_pulse_locked (metrics, qn / 4.0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue