diff options
author | nick_m <mainsbridge@gmail.com> | 2016-11-01 21:54:11 +1100 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2016-11-11 03:37:08 +1100 |
commit | 594137f5cc5d641873b9002c28453166e81bac9e (patch) | |
tree | 372b45608c4cb95e1d7a0fe4aa337e86e2deb793 /libs/ardour/lv2_plugin.cc | |
parent | 3db68b4f9e88658e8130769ee469f2a7b4de97a2 (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/lv2_plugin.cc')
-rw-r--r-- | libs/ardour/lv2_plugin.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/lv2_plugin.cc b/libs/ardour/lv2_plugin.cc index 017dc4e936..1b6775ab49 100644 --- a/libs/ardour/lv2_plugin.cc +++ b/libs/ardour/lv2_plugin.cc @@ -2607,7 +2607,7 @@ LV2Plugin::connect_and_run(BufferSet& bufs, } else { tmetric.set_metric(metric); Timecode::BBT_Time bbt; - bbt = tmap.bbt_at_pulse (metric->pulse()); + bbt = tmap.bbt_at_frame (metric->frame()); double bpm = tmap.tempo_at_frame (start/*XXX*/).beats_per_minute(); write_position(&_impl->forge, _ev_buffers[port_index], tmetric, bbt, speed, bpm, |