aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-11-15 18:45:54 -0500
committerDavid Robillard <d@drobilla.net>2024-11-24 19:00:44 -0500
commit417f76f18194ab6edf7e77d771037cf3ff8059e1 (patch)
treedd55a2eccf97c470ac5702feb0c33d8d52f7ffae /test
parenta3e3e489942697217ef08a73c1064e84df3d5e09 (diff)
downloadjalv-417f76f18194ab6edf7e77d771037cf3ff8059e1.tar.gz
jalv-417f76f18194ab6edf7e77d771037cf3ff8059e1.tar.bz2
jalv-417f76f18194ab6edf7e77d771037cf3ff8059e1.zip
Allocate message buffers with the necessary size during setup
Remove static limits and instead allocate large enough buffers for any message sent by the plugin. These buffers only need to hold one message at a time, so they can't be any larger than the largest port buffer (since the plugin couldn't possibly write anything larger). Also replaces some crude hammering on realloc() with reuse of one of these known-large-enough buffers.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions