From 874a009d765b9673c95de4ae8bc9ea443b70eb7c Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 19 Jan 2021 14:07:39 -0700 Subject: [PATCH] remove NUTEMPO #warning (comment explains more) --- gtk2_ardour/route_time_axis.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc index 1b107056e8..d809b60bbd 100644 --- a/gtk2_ardour/route_time_axis.cc +++ b/gtk2_ardour/route_time_axis.cc @@ -920,7 +920,10 @@ RouteTimeAxisView::show_timestretch (timepos_t const & start, timepos_t const & timestretch_rect->show (); timestretch_rect->raise_to_top (); -#warning NUTEMPO is it ok to just fudge this being in samples? + /* we use samples here since that is the canonical GUI<=>timeline + * mapping (samples/pixels). This is just a dragging rect, it doesn't + * by itself determine the parameters for the stretch. + */ double const x1 = start.samples() / _editor.get_current_zoom(); double const x2 = (end.samples() - 1) / _editor.get_current_zoom();