diff options
author | Robin Gareus <robin@gareus.org> | 2017-06-17 04:35:48 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-06-17 04:37:14 +0200 |
commit | f80958e168e459f617a860a4aa12e6fc6766c8be (patch) | |
tree | 546196f4020c143c95a82f6595c66eea3cac2e36 /libs/ardour/session.cc | |
parent | 1e97c09eed646adb030fd198d9ced9530bae20cb (diff) |
Add Lua bindings to query all stripables
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r-- | libs/ardour/session.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 1e1289e8e6..cae5a5257b 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -4276,6 +4276,15 @@ Session::get_stripables (StripableList& sl) const sl.insert (sl.end(), v.begin(), v.end()); } +StripableList +Session::get_stripables () const +{ + StripableList rv; + Session::get_stripables (rv); + rv.sort (Stripable::Sorter ()); + return rv; +} + boost::shared_ptr<RouteList> Session::get_routes_with_internal_returns() const { |