From 480fe7d0b7ecc0d167771f7d0b712319ffed0851 Mon Sep 17 00:00:00 2001 From: nick_m Date: Thu, 14 Apr 2016 03:16:47 +1000 Subject: [PATCH] Tempo ramps - fix more constructor confusion. --- libs/ardour/tempo.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc index b8a1007e74..0df8efacbd 100644 --- a/libs/ardour/tempo.cc +++ b/libs/ardour/tempo.cc @@ -624,7 +624,7 @@ TempoMap::TempoMap (framecnt_t fr) _frame_rate = fr; BBT_Time start (1, 1, 0); - TempoSection *t = new TempoSection (0.0, _default_tempo.beats_per_minute(), _default_tempo.note_type(), TempoSection::Constant); + TempoSection *t = new TempoSection ((framepos_t) 0, _default_tempo.beats_per_minute(), _default_tempo.note_type(), TempoSection::Constant); MeterSection *m = new MeterSection ((framepos_t) 0, 0.0, start, _default_meter.divisions_per_bar(), _default_meter.note_divisor()); t->set_movable (false);