Pass throug the VstEvents struct

This commit is contained in:
Robbert van der Helm
2020-03-08 20:29:40 +01:00
parent c5ea1e5153
commit 40142f801e
5 changed files with 34 additions and 23 deletions
+1
View File
@@ -135,6 +135,7 @@ struct Event {
// hence the assertion. If multiple events can be
// passed at once then `VstEvents` should be
// modified.
// TODO: This is definitely not the case, somehow fix this
assert(events.numEvents <= 1);
s.container(
events.events, [](S& s, VstEvent*(&event_ptr)) {