summaryrefslogtreecommitdiff
path: root/libs/evoral/evoral/ControlList.hpp
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-07-23 23:52:20 +0200
committerRobin Gareus <robin@gareus.org>2017-07-24 01:59:08 +0200
commit2006701f7337a7e5a2eeac17a7374d59d1f98579 (patch)
tree7e70fa3da9e9a6c24063a5eb212aee6440c684b8 /libs/evoral/evoral/ControlList.hpp
parent25df9f1ba5c65fbe89cafffd1dc02dc44e60ec77 (diff)
Fix ctrl-list guard-points and concurrency issues
* lock list when editing (prevent concurrent modification of insert iterator * don't add a guard-point if an event is already present between the target and guard-point-position * remove existing automation-events (old guard points) when touching automation w/o change * don't unset "new write pass" when not rolling (fixes issues when not rolling but locating with write-enabled)
Diffstat (limited to 'libs/evoral/evoral/ControlList.hpp')
-rw-r--r--libs/evoral/evoral/ControlList.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/evoral/evoral/ControlList.hpp b/libs/evoral/evoral/ControlList.hpp
index 8df5004b39..4aececf40d 100644
--- a/libs/evoral/evoral/ControlList.hpp
+++ b/libs/evoral/evoral/ControlList.hpp
@@ -358,7 +358,7 @@ private:
void unlocked_remove_duplicates ();
void unlocked_invalidate_insert_iterator ();
- void add_guard_point (double when);
+ void add_guard_point (double when, double offset);
};
} // namespace Evoral