diff options
author | Robin Gareus <robin@gareus.org> | 2015-10-06 17:33:33 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-10-06 18:16:12 +0200 |
commit | 96720089cfba20e023937e0d869a4c03fbf01ee2 (patch) | |
tree | 3d45136ad059cd348e12e7949a1a25571f8d5c49 /libs/ardour/session_rtevents.cc | |
parent | 0cfb898802aa67f1a4459524606ab7ab62f05ea8 (diff) |
remove newly unused code
Diffstat (limited to 'libs/ardour/session_rtevents.cc')
-rw-r--r-- | libs/ardour/session_rtevents.cc | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/libs/ardour/session_rtevents.cc b/libs/ardour/session_rtevents.cc index 745212abb4..189385e2ee 100644 --- a/libs/ardour/session_rtevents.cc +++ b/libs/ardour/session_rtevents.cc @@ -76,26 +76,6 @@ Session::rt_set_solo (boost::shared_ptr<RouteList> rl, bool yn, bool /* group_ov } void -Session::cancel_solo_after_disconnect (boost::shared_ptr<Route> r, bool upstream, SessionEvent::RTeventCallback after) -{ - boost::shared_ptr<RouteList> rl (new RouteList); - rl->push_back (r); - - queue_event (get_rt_event (rl, upstream, after, false, &Session::rt_cancel_solo_after_disconnect)); -} - -void -Session::rt_cancel_solo_after_disconnect (boost::shared_ptr<RouteList> rl, bool upstream, bool /* group_override */) -{ - for (RouteList::iterator i = rl->begin(); i != rl->end(); ++i) { - if (!(*i)->is_auditioner()) { - (*i)->cancel_solo_after_disconnect (upstream); - } - } - /* no need to call set-dirty - the disconnect will already have done that */ -} - -void Session::set_just_one_solo (boost::shared_ptr<Route> r, bool yn, SessionEvent::RTeventCallback after) { /* its a bit silly to have to do this, but it keeps the API for this public method sane (we're |