diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-01-02 04:58:23 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-01-02 04:58:30 -0500 |
commit | 9e3299f97da874a48f67dc5ff0e0f87a6a54768a (patch) | |
tree | 460d8bd46c20c72fbaac2ea917da32bb95d42124 /gtk2_ardour/stereo_panner_editor.cc | |
parent | 38f199e35565e58d48f68eafa3e5873d9787c55c (diff) |
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
Diffstat (limited to 'gtk2_ardour/stereo_panner_editor.cc')
-rw-r--r-- | gtk2_ardour/stereo_panner_editor.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk2_ardour/stereo_panner_editor.cc b/gtk2_ardour/stereo_panner_editor.cc index e7a4a452fe..477a6650a4 100644 --- a/gtk2_ardour/stereo_panner_editor.cc +++ b/gtk2_ardour/stereo_panner_editor.cc @@ -31,6 +31,8 @@ using namespace std; using namespace Gtk; using namespace Gtkmm2ext; +using PBD::Controllable; + StereoPannerEditor::StereoPannerEditor (StereoPanner* p) : PannerEditor (_("Stereo Panner")) , _panner (p) @@ -103,7 +105,7 @@ StereoPannerEditor::position_changed () _ignore_changes = true; double const v = _position.get_value() / 100; - _panner->get_position_controllable()->set_value (v); + _panner->get_position_controllable()->set_value (v, Controllable::NoGroup); set_width_range (); _ignore_changes = false; } @@ -117,7 +119,7 @@ StereoPannerEditor::width_changed () _ignore_changes = true; double const v = _width.get_value() / 100; - _panner->get_width_controllable()->set_value (v); + _panner->get_width_controllable()->set_value (v, Controllable::NoGroup); set_position_range (); _ignore_changes = false; } |