Um... we can't use 128 bytes for every single MIDI event, Hans.
authorDavid Robillard <d@drobilla.net>
Fri, 30 Jan 2009 06:56:17 +0000 (06:56 +0000)
committerDavid Robillard <d@drobilla.net>
Fri, 30 Jan 2009 06:56:17 +0000 (06:56 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@4463 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/ardour/midi_buffer.h

index bee7767977a624db55da4c1c277d541c8eed4d4a..812f697aa3de32f1765063c12bf47ba2bb09e3e4 100644 (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)