mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
Tempo ramps - correct previous commit.
This commit is contained in:
parent
0b2c476148
commit
fe648e97fb
1 changed files with 1 additions and 3 deletions
|
|
@ -625,12 +625,10 @@ TempoMap::TempoMap (framecnt_t fr)
|
|||
BBT_Time start (1, 1, 0);
|
||||
|
||||
TempoSection *t = new TempoSection (0.0, _default_tempo.beats_per_minute(), _default_tempo.note_type(), TempoSection::Constant);
|
||||
MeterSection *m = new MeterSection (0.0, 0.0, start, _default_meter.divisions_per_bar(), _default_meter.note_divisor());
|
||||
MeterSection *m = new MeterSection ((framepos_t) 0, 0.0, start, _default_meter.divisions_per_bar(), _default_meter.note_divisor());
|
||||
|
||||
t->set_movable (false);
|
||||
m->set_movable (false);
|
||||
t->set_position_lock_style (AudioTime);
|
||||
m->set_position_lock_style (AudioTime);
|
||||
|
||||
/* note: frame time is correct (zero) for both of these */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue