Tempo ramps - rename bbt_time() -> bbt_at_frame(), frame_time() -> frame_at_bbt()
[ardour.git] / libs / ardour / session_vst.cc
index ad732e052a185f632a77233b7e0af7e68c08e84f..3741ceb9a100cc5b2b7e70466b344560bc14529c 100644 (file)
@@ -223,7 +223,7 @@ intptr_t Session::vst_callback (
                                Timecode::BBT_Time bbt;
 
                                try {
-                                       session->tempo_map().bbt_time (now, bbt);
+                                       bbt = session->tempo_map().bbt_at_frame (now);
 
                                        /* PPQ = pulse per quarter
                                         * VST's "pulse" is our "division".