}
BufferSet::VSTBuffer::VSTBuffer (size_t c)
- : _capacity (c)
- , _events (0)
- , _midi_events (0)
+ : _events (0)
+ , _midi_events (0)
+ , _capacity (c)
{
if (_capacity > 0) {
/* from `man malloc`: "If size is 0, then malloc() returns either NULL, or a
}
void
-BufferSet::VSTBuffer::push_back (Evoral::MIDIEvent<framepos_t> const & ev)
+BufferSet::VSTBuffer::push_back (Evoral::Event<framepos_t> const & ev)
{
if (ev.size() > 3) {
/* XXX: this will silently drop MIDI messages longer than 3 bytes, so