From 552484978c75dded77697d1d7fea96fa4fb5afee Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 23 Mar 2021 23:56:47 -0600 Subject: [PATCH] fix call to ::bbt_at() inside LV2 plugin --- libs/ardour/lv2_plugin.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/lv2_plugin.cc b/libs/ardour/lv2_plugin.cc index 8485702773..9197d7f32b 100644 --- a/libs/ardour/lv2_plugin.cc +++ b/libs/ardour/lv2_plugin.cc @@ -3118,7 +3118,7 @@ LV2Plugin::connect_and_run(BufferSet& bufs, * so it needs to be realative to that. */ _current_bpm = metric.tempo().note_types_per_minute(); - Temporal::BBT_Time bbt (metric.bbt_at (start)); + Temporal::BBT_Time bbt (metric.bbt_at (start0)); double beatpos = (bbt.bars - 1) * metric.divisions_per_bar() + (bbt.beats - 1) + (bbt.ticks / Temporal::ticks_per_beat);