diff options
author | Robin Gareus <robin@gareus.org> | 2017-02-17 03:58:51 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-02-17 03:58:51 +0100 |
commit | 9d8829f5bfb13776795437cc104be4d8741b86d6 (patch) | |
tree | c5fcc599119b2048ba28eb91eeda744868697f32 /libs/surfaces/faderport | |
parent | fef0739a1073c9ef1ef80e6980271a0aab56f080 (diff) |
Remove direct calls to set solo_control()
Changing solo-state needs to be done in rt-context to atomically
propagate solo/mute.
set_control() queues a rt-event, later Session::rt_set_control() calls
Session::update_route_solo_state() to propagate solo/mute.
Diffstat (limited to 'libs/surfaces/faderport')
-rw-r--r-- | libs/surfaces/faderport/operations.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/surfaces/faderport/operations.cc b/libs/surfaces/faderport/operations.cc index 63f8c4b5f5..9a43aaea78 100644 --- a/libs/surfaces/faderport/operations.cc +++ b/libs/surfaces/faderport/operations.cc @@ -140,7 +140,7 @@ FaderPort::solo () return; } - _current_stripable->solo_control()->set_value (!_current_stripable->solo_control()->self_soloed(), PBD::Controllable::UseGroup); + session->set_control (_current_stripable->solo_control(), !_current_stripable->solo_control()->self_soloed(), PBD::Controllable::UseGroup); } void |