mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
use cleaned up Temporal ::quarters*_at* API (GUI edition)
This commit is contained in:
parent
3ca2be321d
commit
9412130c01
6 changed files with 93 additions and 23 deletions
|
|
@ -1244,10 +1244,10 @@ AudioClock::set_bbt (timepos_t const & w, timecnt_t const & o, bool /*force*/)
|
|||
Temporal::BBT_Time sub_bbt;
|
||||
|
||||
if (negative) {
|
||||
BBT = tmap->bbt_at (tmap->quarter_note_at (timepos_t (offset)));
|
||||
BBT = tmap->bbt_at (tmap->quarters_at (timepos_t (offset)));
|
||||
sub_bbt = tmap->bbt_at (timepos_t (offset - when));
|
||||
} else {
|
||||
BBT = tmap->bbt_at (tmap->quarter_note_at (when + offset));
|
||||
BBT = tmap->bbt_at (tmap->quarters_at (when + offset));
|
||||
sub_bbt = tmap->bbt_at (timepos_t (offset));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue