mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 11:06:32 +01:00
* Quick Fix: assertion converted into warning in MidiModel::write_to
git-svn-id: svn://localhost/ardour2/branches/3.0@3337 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
d467245152
commit
277bfa35d5
2 changed files with 27 additions and 3 deletions
|
|
@ -507,7 +507,11 @@ SMFSource::append_event_unlocked(EventTimeUnit unit, const MIDI::Event& ev)
|
|||
printf("\n");
|
||||
|
||||
assert(ev.time() >= 0);
|
||||
assert(ev.time() >= _last_ev_time);
|
||||
|
||||
if (ev.time() < _last_ev_time) {
|
||||
cerr << "SMFSource: Warning: Skipping event with ev.time() < _last_ev_time" << endl;
|
||||
return;
|
||||
}
|
||||
|
||||
uint32_t delta_time = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue