aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/effects/compressor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/effects/compressor.c b/Alc/effects/compressor.c
index a5f1953b..af60777a 100644
--- a/Alc/effects/compressor.c
+++ b/Alc/effects/compressor.c
@@ -164,7 +164,7 @@ static ALvoid ALcompressorState_process(ALcompressorState *state, ALsizei Sample
continue;
for(i = 0;i < td;i++)
- SamplesOut[k][base+i] += SamplesIn[k][base+i] * gains[i] * gain;
+ SamplesOut[k][base+i] += SamplesIn[j][base+i] * gains[i] * gain;
}
}