From 04cba6eca0acd5bc1d264f52e68eb960abe7ef50 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 2 Apr 2013 16:10:51 -0400 Subject: fix (?) behaviour when punching into automation write mode while the transport is moving, hopefully without breaking anything else --- libs/evoral/evoral/ControlList.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libs/evoral/evoral/ControlList.hpp') diff --git a/libs/evoral/evoral/ControlList.hpp b/libs/evoral/evoral/ControlList.hpp index f43cf0af01..967e08d619 100644 --- a/libs/evoral/evoral/ControlList.hpp +++ b/libs/evoral/evoral/ControlList.hpp @@ -83,6 +83,8 @@ public: virtual boost::shared_ptr create(Parameter id); + void dump (std::ostream&); + ControlList& operator= (const ControlList&); bool operator== (const ControlList&); void copy_events (const ControlList&); @@ -238,7 +240,7 @@ public: virtual bool touch_enabled() const { return false; } void start_write_pass (double time); void write_pass_finished (double when); - void set_in_write_pass (bool); + void set_in_write_pass (bool, bool add_point = false, double when = 0.0); bool in_write_pass () const; /** Emitted when mark_dirty() is called on this object */ @@ -292,6 +294,7 @@ protected: bool did_write_during_pass; bool _in_write_pass; void unlocked_invalidate_insert_iterator (); + void add_guard_point (double when); }; } // namespace Evoral -- cgit v1.2.3