mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 08:14:58 +01:00
allow setting end bpm in new tempo from tempo dialog.
This commit is contained in:
parent
30dd692d13
commit
589c13c0eb
1 changed files with 2 additions and 1 deletions
|
|
@ -533,9 +533,10 @@ Editor::edit_tempo_section (TempoSection* section)
|
||||||
}
|
}
|
||||||
|
|
||||||
double bpm = tempo_dialog.get_bpm ();
|
double bpm = tempo_dialog.get_bpm ();
|
||||||
|
double end_bpm = tempo_dialog.get_end_bpm ();
|
||||||
double nt = tempo_dialog.get_note_type ();
|
double nt = tempo_dialog.get_note_type ();
|
||||||
bpm = max (0.01, bpm);
|
bpm = max (0.01, bpm);
|
||||||
const Tempo tempo (bpm, nt);
|
const Tempo tempo (bpm, nt, end_bpm);
|
||||||
|
|
||||||
Timecode::BBT_Time when;
|
Timecode::BBT_Time when;
|
||||||
tempo_dialog.get_bbt_time (when);
|
tempo_dialog.get_bbt_time (when);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue