aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/modulator.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-12-18 09:23:55 -0800
committerChris Robinson <[email protected]>2014-12-18 09:23:55 -0800
commitc3a36d9b1975df8136c80412cb5ebfde711608d8 (patch)
tree5d8389b13d81e33bc4dc9c4cb727a31d3e2fd5f3 /Alc/effects/modulator.c
parent9897fca79407f741c8151a9914b0127d349f4093 (diff)
Do up to 256 samples at a time with multi-step loops
Diffstat (limited to 'Alc/effects/modulator.c')
-rw-r--r--Alc/effects/modulator.c4
1 files changed, 2 insertions, 2 deletions
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++) \