From f221b95aa990a350566502178f69e7d7dc44cdca Mon Sep 17 00:00:00 2001 From: Oli Larkin Date: Fri, 29 May 2015 16:40:43 +0100 Subject: [PATCH] [IPLUG/EXAMPLES] make IPlugConvoEngine use IPMIN --- IPlugExamples/IPlugConvoEngine/IPlugConvoEngine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IPlugExamples/IPlugConvoEngine/IPlugConvoEngine.cpp b/IPlugExamples/IPlugConvoEngine/IPlugConvoEngine.cpp index a854bbc4..c049e260 100644 --- a/IPlugExamples/IPlugConvoEngine/IPlugConvoEngine.cpp +++ b/IPlugExamples/IPlugConvoEngine/IPlugConvoEngine.cpp @@ -218,7 +218,7 @@ void IPlugConvoEngine::ProcessDoubleReplacing(double** inputs, double** outputs, double *out_l = outputs[0]; double *out_r = outputs[1]; - int nAvail = MIN(mEngine.Avail(nFrames), nFrames); + int nAvail = IPMIN(mEngine.Avail(nFrames), nFrames); // If not enough samples are available yet, then only output the dry // signal. -- 2.11.4.GIT