mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 00:04:56 +01:00
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:
parent
0599fafe76
commit
5b9bd3eea0
1 changed files with 2 additions and 2 deletions
|
|
@ -60,7 +60,7 @@ ControlList::ControlList (const Parameter& id)
|
||||||
_changed_when_thawed = false;
|
_changed_when_thawed = false;
|
||||||
_min_yval = id.min();
|
_min_yval = id.min();
|
||||||
_max_yval = id.max();
|
_max_yval = id.max();
|
||||||
_default_value = 0;
|
_default_value = id.normal();
|
||||||
_lookup_cache.left = -1;
|
_lookup_cache.left = -1;
|
||||||
_lookup_cache.range.first = _events.end();
|
_lookup_cache.range.first = _events.end();
|
||||||
_search_cache.left = -1;
|
_search_cache.left = -1;
|
||||||
|
|
@ -355,7 +355,7 @@ ControlList::start_write_pass (double when)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
ControlList::write_pass_finished (double when)
|
ControlList::write_pass_finished (double /*when*/)
|
||||||
{
|
{
|
||||||
if (did_write_during_pass) {
|
if (did_write_during_pass) {
|
||||||
thin ();
|
thin ();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue