diff options
author | David Robillard <d@drobilla.net> | 2009-02-16 00:53:26 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-02-16 00:53:26 +0000 |
commit | fd1a3cfa4cd302a0ce0dbe97810dadb69f323ce6 (patch) | |
tree | adee113bb75bd025dfa9a4d0acc2bf1927084578 /libs/evoral/src/SMF.cpp | |
parent | 85ab34179583db06899105586e7ac2d264b437fb (diff) |
Gracefully ignore illegal MIDI events at the buffer level (i.e. from Jack).
Ardour should now be able to more or less tolerate crazy incoming MIDI (except for SYSEX).
git-svn-id: svn://localhost/ardour2/branches/3.0@4592 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/evoral/src/SMF.cpp')
-rw-r--r-- | libs/evoral/src/SMF.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/evoral/src/SMF.cpp b/libs/evoral/src/SMF.cpp index 17c94924f8..d7d052e3f0 100644 --- a/libs/evoral/src/SMF.cpp +++ b/libs/evoral/src/SMF.cpp @@ -228,7 +228,7 @@ SMF::append_event_delta(uint32_t delta_t, uint32_t size, const uint8_t* buf) } printf("\n");*/ if (!midi_event_is_valid(buf, size)) { - cerr << "WARNING: Ignoring illegal MIDI event" << endl; + cerr << "WARNING: SMF ignoring illegal MIDI event" << endl; return; } |