summaryrefslogtreecommitdiff
path: root/gtk2_ardour/step_editor.cc
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2016-05-27 01:25:47 +1000
committernick_m <mainsbridge@gmail.com>2016-05-27 23:38:17 +1000
commit8f3bc6f8099d7fc3bcc7f0dc88434afa0084e35f (patch)
tree66422009b382faf1b5b6c49eda58ab4c64f35460 /gtk2_ardour/step_editor.cc
parent250c88c038e8c7bf6449657463acc0403e01bcad (diff)
Tempo ramps - rename tempo_at() -> tempo_at_frame().. 3 decimals for the audioclock tempo display.
Diffstat (limited to 'gtk2_ardour/step_editor.cc')
-rw-r--r--gtk2_ardour/step_editor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/step_editor.cc b/gtk2_ardour/step_editor.cc
index e8579a94f5..62b2646b81 100644
--- a/gtk2_ardour/step_editor.cc
+++ b/gtk2_ardour/step_editor.cc
@@ -116,7 +116,7 @@ StepEditor::prepare_step_edit_region ()
} else {
const Meter& m = _mtv.session()->tempo_map().meter_at (step_edit_insert_position);
- const Tempo& t = _mtv.session()->tempo_map().tempo_at (step_edit_insert_position);
+ const Tempo& t = _mtv.session()->tempo_map().tempo_at_frame (step_edit_insert_position);
double baf = _mtv.session()->tempo_map().beat_at_frame (step_edit_insert_position);
double next_bar_in_beats = baf + m.divisions_per_bar();