diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-07-02 16:08:38 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-07-02 16:08:38 -0400 |
commit | 02db39c1bc63da52c21d77cc8f840d5d3233f301 (patch) | |
tree | 2c0cf971e730ae66c7842fbf020ccb368f2f15af /libs/ardour/session.cc | |
parent | 13ce731fc7dba1f863ea3992b6ba779de9952ed9 (diff) |
remove Session::get_nth_stripable.cc
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r-- | libs/ardour/session.cc | 18 |
1 files changed, 0 insertions, 18 deletions
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; |