OSC: Fix Solo to work with both SIP and Listen.
This commit is contained in:
parent
4005ef9db6
commit
4a226385b6
@ -1068,9 +1068,7 @@ OSC::route_solo (int rid, int yn)
|
|||||||
boost::shared_ptr<Route> r = session->route_by_remote_id (rid);
|
boost::shared_ptr<Route> r = session->route_by_remote_id (rid);
|
||||||
|
|
||||||
if (r) {
|
if (r) {
|
||||||
boost::shared_ptr<RouteList> rl (new RouteList);
|
r->solo_control()->set_value(yn, PBD::Controllable::NoGroup);
|
||||||
rl->push_back (r);
|
|
||||||
session->set_solo (rl, yn, Session::rt_cleanup, PBD::Controllable::NoGroup);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user