diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-11-17 18:00:36 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-02-22 15:31:25 -0500 |
commit | e9234c856a783ff3e585e1852852c72843d8ce7f (patch) | |
tree | cee77bff81a74cc4c57c840503b2338cd31a1ff9 /libs/ardour/session.cc | |
parent | 47cf908998f51a89a2c2041af87e2675258ef888 (diff) |
add syntax and scaffolding for MIDI binding maps to refer to selected tracks/busses.
THIS DOES NOT WORK YET. Selection information is not available in libardour at this time
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r-- | libs/ardour/session.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 725d94c3cc..c9fd336314 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -4061,6 +4061,19 @@ Session::route_by_remote_id (uint32_t id) } +boost::shared_ptr<Route> +Session::route_by_selected_count (uint32_t id) +{ + boost::shared_ptr<RouteList> r = routes.reader (); + + for (RouteList::iterator i = r->begin(); i != r->end(); ++i) { + /* NOT IMPLEMENTED */ + } + + return boost::shared_ptr<Route> ((Route*) 0); +} + + void Session::reassign_track_numbers () { |