From fe648e97fba9f54a17c92253bf4f1e1a56ec624f Mon Sep 17 00:00:00 2001 From: nick_m Date: Thu, 14 Apr 2016 02:06:22 +1000 Subject: [PATCH] Tempo ramps - correct previous commit. --- libs/ardour/tempo.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc index 4dbcbeb277..b8a1007e74 100644 --- a/libs/ardour/tempo.cc +++ b/libs/ardour/tempo.cc @@ -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 */ -- 2.30.2