mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
Tempo ramps - rename bbt_time() -> bbt_at_frame(), frame_time() -> frame_at_bbt()
This commit is contained in:
parent
b564f07635
commit
34c9ac9dd7
14 changed files with 62 additions and 52 deletions
|
|
@ -402,9 +402,8 @@ BasicUI::jump_by_seconds (double secs)
|
|||
void
|
||||
BasicUI::jump_by_bars (double bars)
|
||||
{
|
||||
Timecode::BBT_Time bbt;
|
||||
TempoMap& tmap (session->tempo_map());
|
||||
tmap.bbt_time (session->transport_frame(), bbt);
|
||||
Timecode::BBT_Time bbt (tmap.bbt_at_frame (session->transport_frame()));
|
||||
|
||||
bars += bbt.bars;
|
||||
if (bars < 0) bars = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue