diff options
author | David Robillard <d@drobilla.net> | 2008-05-16 02:50:19 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-05-16 02:50:19 +0000 |
commit | f53baec2e4ad1e40f76a5efc1d90cbc6dcef0326 (patch) | |
tree | eb63272c3a3d4fa7269c0cd2c03f1d8cef3bd56b /libs/ardour/midi_model.cc | |
parent | 722b85e828c55eed97754f50e445a14935effb65 (diff) |
Tidy up MIDI debugging output.
git-svn-id: svn://localhost/ardour2/branches/3.0@3358 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/midi_model.cc')
-rw-r--r-- | libs/ardour/midi_model.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/ardour/midi_model.cc b/libs/ardour/midi_model.cc index 8819423694..48bb743734 100644 --- a/libs/ardour/midi_model.cc +++ b/libs/ardour/midi_model.cc @@ -103,8 +103,9 @@ MidiModel::const_iterator::const_iterator(const MidiModel& model, double t) assert(x >= 0); if (y >= i->first.min() || y <= i->first.max()) { - cerr << "ERROR: Event value '" << y << "' out of range [" - << i->first.min() << "," << i->first.max() << "], ignored" << endl; + cerr << "ERROR: Controller (" << i->first.to_string() << ") value '" << y + << "' out of range [" << i->first.min() << "," << i->first.max() + << "], event ignored" << endl; continue; } |