Tempo ramps - correct previous commit.
[ardour.git] / libs / ardour / tempo.cc
index 4dbcbeb27757236de0f90a5f4832c15d9a326264..b8a1007e74adbca3c1a6850986c8095a552cc65f 100644 (file)
@@ -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 */