diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-04-08 23:20:14 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-04-08 23:20:14 +0000 |
commit | ad06e7cb8dd2add700d8a83c2b9cb7352d122bce (patch) | |
tree | a3f26d7c1357989eab2dc7faf6ca5a074416b6c1 /libs/surfaces/mackie/controls.cc | |
parent | 0e0c4277cf60145b4852652b090443ff8c54e58b (diff) |
MCP: make Strip aware of Meter
git-svn-id: svn://localhost/ardour2/branches/3.0@11841 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/surfaces/mackie/controls.cc')
-rw-r--r-- | libs/surfaces/mackie/controls.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/surfaces/mackie/controls.cc b/libs/surfaces/mackie/controls.cc index f59f57b8e0..42bcc3a09b 100644 --- a/libs/surfaces/mackie/controls.cc +++ b/libs/surfaces/mackie/controls.cc @@ -93,6 +93,8 @@ void Strip::add (Control & control) _vselect = reinterpret_cast<Button*>(&control); } else if (control.name() == "fader_touch") { _fader_touch = reinterpret_cast<Button*>(&control); + } else if (control.name() == "meter") { + _meter = reinterpret_cast<Meter*>(&control); } else if (control.type() == Control::type_led || control.type() == Control::type_led_ring) { // relax } else { |