From 09e8ba00c23f010bdb248dd970d6798c0aaa2d9c Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 29 Jun 2022 01:17:13 +0200 Subject: [PATCH] Replace ::user_double() with ::get_double() 2/2 --- gtk2_ardour/automation_controller.cc | 2 +- gtk2_ardour/automation_region_view.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/automation_controller.cc b/gtk2_ardour/automation_controller.cc index e5b223b4b2..f6f35e0938 100644 --- a/gtk2_ardour/automation_controller.cc +++ b/gtk2_ardour/automation_controller.cc @@ -195,7 +195,7 @@ AutomationController::value_adjusted () { if (!_ignore_change) { const double new_val = _controllable->interface_to_internal(_adjustment->get_value(), true); - if (_controllable->user_double() != new_val) { + if (_controllable->get_double() != new_val) { _controllable->set_value (new_val, Controllable::NoGroup); } } diff --git a/gtk2_ardour/automation_region_view.cc b/gtk2_ardour/automation_region_view.cc index b73d3796b5..ce9d7d6946 100644 --- a/gtk2_ardour/automation_region_view.cc +++ b/gtk2_ardour/automation_region_view.cc @@ -204,7 +204,7 @@ AutomationRegionView::add_automation_event (GdkEvent *, timepos_t const & w, dou assert (mt); boost::shared_ptr mc = mt->control(_parameter); assert (mc); - y = mc->user_double (); + y = mc->get_double (); } else if (UIConfiguration::instance().get_new_automation_points_on_lane()) { y = c->list()->eval (when); }