From 37b0e72d4ab7d8155b41a8b81c97e8abb92f18ca Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Thu, 12 Mar 2020 23:17:42 +0100 Subject: [PATCH] Increase the number of permitted midi events --- src/common/serialization.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/common/serialization.h b/src/common/serialization.h index 17deb906..bb3d8f30 100644 --- a/src/common/serialization.h +++ b/src/common/serialization.h @@ -39,10 +39,8 @@ constexpr size_t max_audio_channels = 32; constexpr size_t max_buffer_size = 16384; /** * The maximum number of midi events in a single `VstEvents` struct. - * - * TODO: Can this go higher? */ -constexpr size_t max_midi_events = 32; +constexpr size_t max_midi_events = 256; /** * The maximum size in bytes of a string or buffer passed through a void pointer * in one of the dispatch functions. This is used to create buffers for plugins