projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove dead code
[ardour.git]
/
libs
/
ardour
/
buffer_set.cc
diff --git
a/libs/ardour/buffer_set.cc
b/libs/ardour/buffer_set.cc
index 982725f491e6de9f4bcf5fb0202b3c2b7a641e70..34425324a56dcd698cabe6e1a472c47dfad0a4f3 100644
(file)
--- a/
libs/ardour/buffer_set.cc
+++ b/
libs/ardour/buffer_set.cc
@@
-362,9
+362,9
@@
BufferSet::get_vst_midi (size_t b)
}
BufferSet::VSTBuffer::VSTBuffer (size_t c)
}
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
{
if (_capacity > 0) {
/* from `man malloc`: "If size is 0, then malloc() returns either NULL, or a
@@
-401,7
+401,7
@@
BufferSet::VSTBuffer::clear ()
}
void
}
void
-BufferSet::VSTBuffer::push_back (Evoral::
MIDI
Event<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
{
if (ev.size() > 3) {
/* XXX: this will silently drop MIDI messages longer than 3 bytes, so