From 594137f5cc5d641873b9002c28453166e81bac9e Mon Sep 17 00:00:00 2001 From: nick_m Date: Tue, 1 Nov 2016 21:54:11 +1100 Subject: remove public pulse methods from TempoMap. - the only object whose musical position is not expressed in quarter notes is MetricSection. there is now no need to expose this. --- libs/ardour/session_vst.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/session_vst.cc') diff --git a/libs/ardour/session_vst.cc b/libs/ardour/session_vst.cc index a614fef956..5da17cf430 100644 --- a/libs/ardour/session_vst.cc +++ b/libs/ardour/session_vst.cc @@ -225,7 +225,7 @@ intptr_t Session::vst_callback ( bbt.beats = 1; bbt.ticks = 0; /* exact quarter note */ - double ppqBar = session->tempo_map().pulse_at_bbt_rt (bbt) * 4.0; + double ppqBar = session->tempo_map().quarter_note_at_bbt_rt (bbt); /* quarter note at frame position (not rounded to note subdivision) */ double ppqPos = session->tempo_map().quarter_note_at_frame_rt (now); if (value & (kVstPpqPosValid)) { -- cgit v1.2.3