diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-02 16:10:51 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-02 16:10:51 -0400 |
commit | 04cba6eca0acd5bc1d264f52e68eb960abe7ef50 (patch) | |
tree | 7edc8d93043e07e6c9f891ee0f21101f67112da1 /libs/evoral/evoral | |
parent | 1d48fb011e5f5eefbc656dc72197a620654ff847 (diff) |
fix (?) behaviour when punching into automation write mode while the transport is moving, hopefully without breaking anything else
Diffstat (limited to 'libs/evoral/evoral')
-rw-r--r-- | libs/evoral/evoral/ControlList.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
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<ControlList> 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 |