From 9e3299f97da874a48f67dc5ff0e0f87a6a54768a Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 2 Jan 2016 04:58:23 -0500 Subject: change Controllable::set_value() API to include grouped control consideration. This also removes Route::group_gain_control() and associated machinery. Not yet tested with Mackie or other surfaces. More work to done to start using the group capabilities, and also potentially to add or derive more controls as RouteAutomationControls --- libs/ardour/pannable.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libs/ardour/pannable.cc') diff --git a/libs/ardour/pannable.cc b/libs/ardour/pannable.cc index 247397d415..f589024435 100644 --- a/libs/ardour/pannable.cc +++ b/libs/ardour/pannable.cc @@ -242,27 +242,27 @@ Pannable::set_state (const XMLNode& root, int version) if ((*niter)->name() == X_("azimuth")) { prop = (*niter)->property (X_("value")); if (prop) { - pan_azimuth_control->set_value (atof (prop->value())); + pan_azimuth_control->set_value (atof (prop->value()), Controllable::NoGroup); } } else if ((*niter)->name() == X_("width")) { prop = (*niter)->property (X_("value")); if (prop) { - pan_width_control->set_value (atof (prop->value())); + pan_width_control->set_value (atof (prop->value()), Controllable::NoGroup); } } else if ((*niter)->name() == X_("elevation")) { prop = (*niter)->property (X_("value")); if (prop) { - pan_elevation_control->set_value (atof (prop->value())); + pan_elevation_control->set_value (atof (prop->value()), Controllable::NoGroup); } } else if ((*niter)->name() == X_("frontback")) { prop = (*niter)->property (X_("value")); if (prop) { - pan_frontback_control->set_value (atof (prop->value())); + pan_frontback_control->set_value (atof (prop->value()), Controllable::NoGroup); } } else if ((*niter)->name() == X_("lfe")) { prop = (*niter)->property (X_("value")); if (prop) { - pan_lfe_control->set_value (atof (prop->value())); + pan_lfe_control->set_value (atof (prop->value()), Controllable::NoGroup); } } } -- cgit v1.2.3