mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
* re-enable assertion about controller values (probably corrupt data in my Session)
git-svn-id: svn://localhost/ardour2/branches/3.0@4461 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
eeabac94d1
commit
582555c337
1 changed files with 1 additions and 5 deletions
|
|
@ -386,11 +386,7 @@ Sequence::control_to_midi_event(boost::shared_ptr<Event>& ev, const ControlItera
|
||||||
assert(iter.list.get());
|
assert(iter.list.get());
|
||||||
assert(iter.list->parameter().channel() < 16);
|
assert(iter.list->parameter().channel() < 16);
|
||||||
assert(iter.list->parameter().id() <= INT8_MAX);
|
assert(iter.list->parameter().id() <= INT8_MAX);
|
||||||
cerr << "CONTROL with id :" << iter.list->parameter().id() << " : " << iter.y << endl;
|
assert(iter.y <= INT8_MAX);
|
||||||
assert(iter.y <= UINT8_MAX);
|
|
||||||
if (iter.y > INT8_MAX) {
|
|
||||||
cerr << "Warning: Found non-standard conforming controller value (> 127)" << endl;
|
|
||||||
}
|
|
||||||
|
|
||||||
ev->time() = iter.x;
|
ev->time() = iter.x;
|
||||||
ev->realloc(3);
|
ev->realloc(3);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue