mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
use new syntax for connecting to backend signals that enforces explicit connection scope, plus a few other related matters
git-svn-id: svn://localhost/ardour2/branches/3.0@6376 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
67460c2af4
commit
aae367b63c
256 changed files with 1123 additions and 1113 deletions
|
|
@ -83,7 +83,7 @@ OSC::OSC (Session& s, uint32_t port)
|
|||
|
||||
// "Application Hooks"
|
||||
session_loaded (s);
|
||||
scoped_connect (session->Exported, boost::bind (&OSC::session_exported, this, _1, _2));
|
||||
session->Exported.connect (*this, boost::bind (&OSC::session_exported, this, _1, _2));
|
||||
}
|
||||
|
||||
OSC::~OSC()
|
||||
|
|
@ -573,7 +573,7 @@ OSC::listen_to_route (boost::shared_ptr<Route> route, lo_address addr)
|
|||
*/
|
||||
|
||||
if (!route_exists) {
|
||||
scoped_connect (route->GoingAway, (boost::bind (&OSC::drop_route, this, boost::weak_ptr<Route> (route))));
|
||||
route->GoingAway.connect (*this, boost::bind (&OSC::drop_route, this, boost::weak_ptr<Route> (route)));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue