summaryrefslogtreecommitdiff
path: root/vst
diff options
context:
space:
mode:
Diffstat (limited to 'vst')
-rw-r--r--vst/drumgizmo_vst.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/vst/drumgizmo_vst.cc b/vst/drumgizmo_vst.cc
index d9cb975..6e26ea4 100644
--- a/vst/drumgizmo_vst.cc
+++ b/vst/drumgizmo_vst.cc
@@ -450,6 +450,7 @@ void DrumGizmoVst::processReplacing(float** inputs, float** outputs,
if(buffer) free(buffer);
buffer_size = sampleFrames;
buffer = (sample_t*)malloc(sizeof(sample_t) * buffer_size);
+ drumgizmo->setFrameSize(buffer_size);
}
drumgizmo->run(pos, buffer, buffer_size);