summaryrefslogtreecommitdiff
path: root/libs/ardour/session_vst.cc
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2016-11-01 21:54:11 +1100
committernick_m <mainsbridge@gmail.com>2016-11-11 03:37:08 +1100
commit594137f5cc5d641873b9002c28453166e81bac9e (patch)
tree372b45608c4cb95e1d7a0fe4aa337e86e2deb793 /libs/ardour/session_vst.cc
parent3db68b4f9e88658e8130769ee469f2a7b4de97a2 (diff)
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.
Diffstat (limited to 'libs/ardour/session_vst.cc')
-rw-r--r--libs/ardour/session_vst.cc2
1 files changed, 1 insertions, 1 deletions
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)) {