diff options
Diffstat (limited to 'libs/ardour')
-rw-r--r-- | libs/ardour/ardour/session.h | 1 | ||||
-rw-r--r-- | libs/ardour/session.cc | 18 |
2 files changed, 0 insertions, 19 deletions
diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index 5ec7e99cea..ebafdd82f6 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -311,7 +311,6 @@ class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::Scop bool io_name_is_legal (const std::string&) const; boost::shared_ptr<Route> route_by_name (std::string) const; boost::shared_ptr<Route> route_by_id (PBD::ID) const; - boost::shared_ptr<Stripable> get_nth_stripable (PresentationInfo::order_t n) const; boost::shared_ptr<Stripable> get_remote_nth_stripable (PresentationInfo::order_t n, PresentationInfo::Flag) const; boost::shared_ptr<Route> get_remote_nth_route (PresentationInfo::order_t n) const; boost::shared_ptr<Route> route_by_selected_count (uint32_t cnt) const; diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 6ef78eacb6..8ec63f5714 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -4230,24 +4230,6 @@ Session::get_remote_nth_route (PresentationInfo::order_t n) const } boost::shared_ptr<Stripable> -Session::get_nth_stripable (PresentationInfo::order_t n) const -{ - StripableList sl; - - get_stripables (sl); - - for (StripableList::const_iterator s = sl.begin(); s != sl.end(); ++s) { - if ((*s)->presentation_info().order() == n) { - return *s; - } - } - - /* there is no nth stripable */ - - return boost::shared_ptr<Stripable>(); -} - -boost::shared_ptr<Stripable> Session::get_remote_nth_stripable (PresentationInfo::order_t n, PresentationInfo::Flag flags) const { StripableList sl; |