From b7dc46951599320ef64809539cfd5fc156e26354 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 8 Jul 2017 15:43:55 +0200 Subject: [PATCH] Remove old API (unused, incorrect for grouped tracks) --- gtk2_ardour/route_ui.cc | 24 ------------------------ gtk2_ardour/route_ui.h | 5 ----- 2 files changed, 29 deletions(-) diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc index 4e11956189..817594e1b7 100644 --- a/gtk2_ardour/route_ui.cc +++ b/gtk2_ardour/route_ui.cc @@ -2011,30 +2011,6 @@ RouteUI::parameter_changed (string const & p) } } -void -RouteUI::step_gain_up () -{ - _route->gain_control()->set_value (dB_to_coefficient (accurate_coefficient_to_dB (_route->gain_control()->get_value()) + 0.1), Controllable::UseGroup); -} - -void -RouteUI::page_gain_up () -{ - _route->gain_control()->set_value (dB_to_coefficient (accurate_coefficient_to_dB (_route->gain_control()->get_value()) + 0.5), Controllable::UseGroup); -} - -void -RouteUI::step_gain_down () -{ - _route->gain_control()->set_value (dB_to_coefficient (accurate_coefficient_to_dB (_route->gain_control()->get_value()) - 0.1), Controllable::UseGroup); -} - -void -RouteUI::page_gain_down () -{ - _route->gain_control()->set_value (dB_to_coefficient (accurate_coefficient_to_dB (_route->gain_control()->get_value()) - 0.5), Controllable::UseGroup); -} - void RouteUI::setup_invert_buttons () { diff --git a/gtk2_ardour/route_ui.h b/gtk2_ardour/route_ui.h index 167ecf1307..9ec4d56313 100644 --- a/gtk2_ardour/route_ui.h +++ b/gtk2_ardour/route_ui.h @@ -160,11 +160,6 @@ public: void edit_input_configuration (); void edit_output_configuration (); - void step_gain_up (); - void step_gain_down (); - void page_gain_up (); - void page_gain_down (); - void build_sends_menu (); void set_sends_gain_from_track (); void set_sends_gain_to_zero ();