13
0

Um... we can't use 128 bytes for every single MIDI event, Hans.

git-svn-id: svn://localhost/ardour2/branches/3.0@4463 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2009-01-30 06:56:17 +00:00
parent 6fe0dc459e
commit ee62ee07d3

View File

@ -85,7 +85,7 @@ private:
Evoral::MIDIEvent& operator[](size_t i) { assert(i < _size); return _events[i]; }
// FIXME: Eliminate this
static const size_t MAX_EVENT_SIZE = 128; // bytes
static const size_t MAX_EVENT_SIZE = 4; // bytes
/* We use _size as "number of events", so the size of _data is
* (_size * MAX_EVENT_SIZE)