diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-04-03 23:33:27 +0200 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-18 11:40:52 -0400 |
commit | 11baba02750816fd83c50a7dc5acb5f147f91929 (patch) | |
tree | 06af19e06eab1010e699b273d89e8807d30904a0 /libs/ardour/session.cc | |
parent | a4a87f56e9dc8e2351101439aeea7a87064fa146 (diff) |
remove Session::track_by_diskstream_id()
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r-- | libs/ardour/session.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 28b99fd427..a46a63dce9 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -4534,21 +4534,6 @@ Session::processor_by_id (PBD::ID id) const return boost::shared_ptr<Processor> (); } -boost::shared_ptr<Track> -Session::track_by_diskstream_id (PBD::ID id) const -{ - boost::shared_ptr<RouteList> r = routes.reader (); - - for (RouteList::iterator i = r->begin(); i != r->end(); ++i) { - boost::shared_ptr<Track> t = boost::dynamic_pointer_cast<Track> (*i); - if (t && t->using_diskstream_id (id)) { - return t; - } - } - - return boost::shared_ptr<Track> (); -} - boost::shared_ptr<Route> Session::get_remote_nth_route (PresentationInfo::order_t n) const { |