From 9e7d64142a8d1f3bbd792e7828409249b66ff6d7 Mon Sep 17 00:00:00 2001 From: falkTX Date: Thu, 4 Jul 2013 01:44:42 +0100 Subject: [PATCH] Misc --- source/backend/native/zynaddsubfx.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/backend/native/zynaddsubfx.cpp b/source/backend/native/zynaddsubfx.cpp index 2e7c90283..cbd115f86 100644 --- a/source/backend/native/zynaddsubfx.cpp +++ b/source/backend/native/zynaddsubfx.cpp @@ -571,8 +571,8 @@ public: FxAlienWahPlugin(const HostDescriptor* const host) : PluginDescriptorClass(host), - efxoutl(new float[getBufferSize()]), - efxoutr(new float[getBufferSize()]), + efxoutl(new float[synth->buffersize]), + efxoutr(new float[synth->buffersize]), fEffect(false, efxoutl, efxoutr) { } @@ -780,8 +780,8 @@ public: FxChorusPlugin(const HostDescriptor* const host) : PluginDescriptorClass(host), - efxoutl(new float[getBufferSize()]), - efxoutr(new float[getBufferSize()]), + efxoutl(new float[synth->buffersize]), + efxoutr(new float[synth->buffersize]), fEffect(false, efxoutl, efxoutr) { } @@ -1014,8 +1014,8 @@ public: FxReverbPlugin(const HostDescriptor* const host) : PluginDescriptorClass(host), - efxoutl(new float[getBufferSize()]), - efxoutr(new float[getBufferSize()]), + efxoutl(new float[synth->buffersize]), + efxoutr(new float[synth->buffersize]), fEffect(false, efxoutl, efxoutr) { }