Compatibility with old out-of-range automation-lane data
authorRobin Gareus <robin@gareus.org>
Tue, 4 Jul 2017 18:12:51 +0000 (20:12 +0200)
committerRobin Gareus <robin@gareus.org>
Tue, 4 Jul 2017 18:12:51 +0000 (20:12 +0200)
commitc4578db595771b5db9572b23cfe3f9a7ebef66c3
treeaf8f4fd9445491dc9701f5ef85239042d8cd6e65
parent135ffdcf6b27411b0d075449b0eda8e4c5fdd2cb
Compatibility with old out-of-range automation-lane data

Ardour may have ignored log-scale for parameters 0..N and allowed
writing '0'. Force those values into the valid range on session load.
Also mark the list as "needs sorting" which removes potential duplicates.
libs/ardour/automation_list.cc
libs/evoral/src/ControlList.cpp