diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-01-15 15:00:37 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-01-15 15:00:37 +0000 |
commit | 5b9bd3eea007b20995aa2e797e4bcfeeed2b9aae (patch) | |
tree | 39094d71c9004679c9bcfd6222f6afb627b2e4d4 /libs | |
parent | 0599fafe7694bbf0d0dbd6fa9104815e0b265699 (diff) |
control lists should use the default value of their parameter, not zero (noticeable for pitchbend)
git-svn-id: svn://localhost/ardour2/branches/3.0@13844 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/evoral/src/ControlList.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/evoral/src/ControlList.cpp b/libs/evoral/src/ControlList.cpp index 870fc43cb6..8daba39cdb 100644 --- a/libs/evoral/src/ControlList.cpp +++ b/libs/evoral/src/ControlList.cpp @@ -60,7 +60,7 @@ ControlList::ControlList (const Parameter& id) _changed_when_thawed = false; _min_yval = id.min(); _max_yval = id.max(); - _default_value = 0; + _default_value = id.normal(); _lookup_cache.left = -1; _lookup_cache.range.first = _events.end(); _search_cache.left = -1; @@ -355,7 +355,7 @@ ControlList::start_write_pass (double when) } void -ControlList::write_pass_finished (double when) +ControlList::write_pass_finished (double /*when*/) { if (did_write_during_pass) { thin (); |