projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4005ef9
)
OSC: Fix Solo to work with both SIP and Listen.
author
Len Ovens
<len@ovenwerks.net>
Wed, 27 Apr 2016 16:06:46 +0000
(09:06 -0700)
committer
Len Ovens
<len@ovenwerks.net>
Wed, 27 Apr 2016 16:06:46 +0000
(09:06 -0700)
libs/surfaces/osc/osc.cc
patch
|
blob
|
history
diff --git
a/libs/surfaces/osc/osc.cc
b/libs/surfaces/osc/osc.cc
index d1c0ff3f5d48a3dc6432eb8b9635617d967195f5..85fd704c6e4922a68e7d5e183aabeef96f8eb300 100644
(file)
--- a/
libs/surfaces/osc/osc.cc
+++ b/
libs/surfaces/osc/osc.cc
@@
-1068,9
+1068,7
@@
OSC::route_solo (int rid, int yn)
boost::shared_ptr<Route> r = session->route_by_remote_id (rid);
if (r) {
- boost::shared_ptr<RouteList> rl (new RouteList);
- rl->push_back (r);
- session->set_solo (rl, yn, Session::rt_cleanup, PBD::Controllable::NoGroup);
+ r->solo_control()->set_value(yn, PBD::Controllable::NoGroup);
}
return 0;