summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-07-02 16:08:38 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-07-02 16:08:38 -0400
commit02db39c1bc63da52c21d77cc8f840d5d3233f301 (patch)
tree2c0cf971e730ae66c7842fbf020ccb368f2f15af
parent13ce731fc7dba1f863ea3992b6ba779de9952ed9 (diff)
remove Session::get_nth_stripable.cc
-rw-r--r--libs/ardour/ardour/session.h1
-rw-r--r--libs/ardour/session.cc18
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;