From c3a36d9b1975df8136c80412cb5ebfde711608d8 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 18 Dec 2014 09:23:55 -0800 Subject: Do up to 256 samples at a time with multi-step loops --- Alc/effects/modulator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Alc/effects/modulator.c') diff --git a/Alc/effects/modulator.c b/Alc/effects/modulator.c index 4d183449..d76fddad 100644 --- a/Alc/effects/modulator.c +++ b/Alc/effects/modulator.c @@ -77,8 +77,8 @@ static void Process##func(ALmodulatorState *state, ALuint SamplesToDo, \ \ for(base = 0;base < SamplesToDo;) \ { \ - ALfloat temps[64]; \ - ALuint td = minu(SamplesToDo-base, 64); \ + ALfloat temps[256]; \ + ALuint td = minu(256, SamplesToDo-base); \ ALuint i, k; \ \ for(i = 0;i < td;i++) \ -- cgit v1.2.3