From 85ab34179583db06899105586e7ac2d264b437fb Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 16 Feb 2009 00:36:11 +0000 Subject: [PATCH] Gracefully ignore illegal MIDI events. git-svn-id: svn://localhost/ardour2/branches/3.0@4591 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/evoral/evoral/MIDIEvent.hpp | 2 +- libs/evoral/evoral/midi_util.h | 24 ++++++++++++++++-------- libs/evoral/src/SMF.cpp | 10 +++++++++- libs/evoral/src/Sequence.cpp | 5 +++++ 4 files changed, 31 insertions(+), 10 deletions(-) diff --git a/libs/evoral/evoral/MIDIEvent.hpp b/libs/evoral/evoral/MIDIEvent.hpp index c9541632d1..12c57a96a0 100644 --- a/libs/evoral/evoral/MIDIEvent.hpp +++ b/libs/evoral/evoral/MIDIEvent.hpp @@ -80,7 +80,7 @@ struct MIDIEvent : public Event