diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2017-10-17 09:20:18 -0500 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2017-10-19 11:53:55 -0500 |
commit | 48c520a4ef4c3eabce0269482e0ccc111b768f1b (patch) | |
tree | e428e88d6241731c0ebd44c08db680ee4a7e62e9 /libs/surfaces/us2400/strip.cc | |
parent | 23c2b751aa1f80d5129d13d4bda39ecc05ac2aac (diff) |
US2400: explicitly toggle switch state in some cases where everything should reset.
Diffstat (limited to 'libs/surfaces/us2400/strip.cc')
-rw-r--r-- | libs/surfaces/us2400/strip.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libs/surfaces/us2400/strip.cc b/libs/surfaces/us2400/strip.cc index f8229d9369..1a88d39855 100644 --- a/libs/surfaces/us2400/strip.cc +++ b/libs/surfaces/us2400/strip.cc @@ -171,6 +171,15 @@ Strip::set_stripable (boost::shared_ptr<Stripable> r, bool /*with_messages*/) _fader->set_control (boost::shared_ptr<AutomationControl>()); _vpot->set_control (boost::shared_ptr<AutomationControl>()); + _surface->write (_solo->set_state(on)); + _surface->write (_solo->set_state(off)); + + _surface->write (_mute->set_state(on)); + _surface->write (_mute->set_state(off)); + + _surface->write (_select->set_state(on)); + _surface->write (_select->set_state(off)); + _stripable = r; reset_saved_values (); |