diff options
author | Carl Hetherington <carl@carlh.net> | 2009-07-04 13:44:01 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-07-04 13:44:01 +0000 |
commit | 40b0b216de9df7a23cd2bbc7e257833db40cc877 (patch) | |
tree | 031a23cf89099ee11e9711b5239defe7860302e1 /libs | |
parent | 36564e4f910bc31fa23a6e73da8440f6ad78a2fc (diff) |
Add option to collect a route group, so that its member routes are reordered to be together in the editor. A few cleanups along the way.
git-svn-id: svn://localhost/ardour2/branches/3.0@5319 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/ardour/route_group.h | 1 | ||||
-rw-r--r-- | libs/ardour/route.cc | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/libs/ardour/ardour/route_group.h b/libs/ardour/ardour/route_group.h index 7b7166decd..75f5af790e 100644 --- a/libs/ardour/ardour/route_group.h +++ b/libs/ardour/ardour/route_group.h @@ -66,7 +66,6 @@ public: gain_t get_min_factor(gain_t factor); int size() { return routes.size();} - ARDOUR::Route * first () const { return *routes.begin();} void set_active (bool yn, void *src); void set_relative (bool yn, void *src); diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index af1a7217d0..61f975689c 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -204,6 +204,10 @@ Route::set_order_key (std::string const & name, long n) _session.set_dirty (); } +/** Set all order keys to be the same as that for `base', if such a key + * exists in this route. + * @param base Base key. + */ void Route::sync_order_keys (std::string const & base) { |