diff options
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 { |