summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/route.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-11-16 00:57:57 +0000
committerCarl Hetherington <carl@carlh.net>2011-11-16 00:57:57 +0000
commitd75b1f5dadbdd7798a66692ac85f9a6393c58582 (patch)
tree2987cdc8c4d8c5faf6bacf3ca274ae7ab2429956 /libs/ardour/ardour/route.h
parent41efdd54a4e5980a24183b2d26a0f4fc683760c3 (diff)
Save custom meter position so that it can be restored if
the metering point is set to something else and then back to custom again (#4401). git-svn-id: svn://localhost/ardour2/branches/3.0@10641 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/route.h')
-rw-r--r--libs/ardour/ardour/route.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libs/ardour/ardour/route.h b/libs/ardour/ardour/route.h
index 6df6934517..b0a9ce12c9 100644
--- a/libs/ardour/ardour/route.h
+++ b/libs/ardour/ardour/route.h
@@ -562,6 +562,17 @@ class Route : public SessionObject, public Automatable, public RouteGroupMember,
/* no copy construction */
Route (Route const &);
+
+ void maybe_note_meter_position ();
+
+ /** true if we've made a note of a custom meter position in these variables */
+ bool _custom_meter_position_noted;
+ /** the processor that came after the meter when it was last set to a custom position,
+ or 0.
+ */
+ boost::weak_ptr<Processor> _processor_after_last_custom_meter;
+ /** true if the last custom meter position was at the end of the processor list */
+ bool _last_custom_meter_was_at_end;
};
} // namespace ARDOUR