summaryrefslogtreecommitdiff
path: root/libs/evoral/evoral/ControlList.hpp
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-07-09 18:32:53 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-07-09 18:32:53 +0000
commitbd2bf3c52eb5ea67e3e3bb4994d23d06b6c859f4 (patch)
treea8a43794b383029605c7523e22976e2ac165f0c7 /libs/evoral/evoral/ControlList.hpp
parent80d9eaf96cd00f3084d18c32b4b31aabda0e6737 (diff)
automation fixes/changes: when add a new control point, create necessary points to construct a flat default-valued line from zero the first point, and revert to the default value at the end of the write (breaks value-holds-after-write behaviour); fix bug in data elimination when recording flat-line data
git-svn-id: svn://localhost/ardour2/branches/3.0@12997 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/evoral/evoral/ControlList.hpp')
-rw-r--r--libs/evoral/evoral/ControlList.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/evoral/evoral/ControlList.hpp b/libs/evoral/evoral/ControlList.hpp
index b1ec7897cf..1e546e04fa 100644
--- a/libs/evoral/evoral/ControlList.hpp
+++ b/libs/evoral/evoral/ControlList.hpp
@@ -291,10 +291,12 @@ protected:
EventList events;
double start_time;
double end_time;
-
+ double same_value_cnt;
+
NascentInfo (double start = -1.0)
: start_time (start)
, end_time (-1.0)
+ , same_value_cnt (0)
{}
};