always use session rt-event to un/set solo
authorRobin Gareus <robin@gareus.org>
Sun, 4 Oct 2015 00:03:49 +0000 (02:03 +0200)
committerRobin Gareus <robin@gareus.org>
Sun, 4 Oct 2015 00:04:59 +0000 (02:04 +0200)
libs/surfaces/osc/osc.cc

index 3312217531921a3f8487c4e765982313c666190e..fade3b20b760fc08c4cb5426268cd0e21368abdc 100644 (file)
@@ -819,7 +819,9 @@ OSC::route_solo (int rid, int yn)
        boost::shared_ptr<Route> r = session->route_by_remote_id (rid);
 
        if (r) {
-               r->set_solo (yn, this);
+               boost::shared_ptr<RouteList> rl (new RouteList);
+               rl->push_back (r);
+               session->set_solo (rl, yn);
        }
 
        return 0;