projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0599faf
)
control lists should use the default value of their parameter, not zero (noticeable...
author
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 15 Jan 2013 15:00:37 +0000
(15:00 +0000)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 15 Jan 2013 15:00:37 +0000
(15:00 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@13844
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/evoral/src/ControlList.cpp
patch
|
blob
|
history
diff --git
a/libs/evoral/src/ControlList.cpp
b/libs/evoral/src/ControlList.cpp
index 870fc43cb645b19431db61178b96f1ac55de25dc..8daba39cdb12458546858f03d3cc130a4e02127f 100644
(file)
--- 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 ();