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
This commit is contained in:
@@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user