diff options
Diffstat (limited to 'Alc/effects')
-rw-r--r-- | Alc/effects/reverb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/effects/reverb.c b/Alc/effects/reverb.c index cf31ba62..504e35b7 100644 --- a/Alc/effects/reverb.c +++ b/Alc/effects/reverb.c @@ -89,9 +89,9 @@ typedef struct ALreverbState { // The gain for each output channel based on 3D panning. // NOTE: With certain output modes, we may be rendering to the dry // buffer and the "real" buffer. The two combined may be using more - // than 8 output channels, so we need some extra for the real output - // too. - ALfloat PanGain[4][MAX_OUTPUT_CHANNELS+4]; + // than the max output channels, so we need some extra for the real + // output too. + ALfloat PanGain[4][MAX_OUTPUT_CHANNELS*2]; } Early; // Decorrelator delay line. @@ -130,7 +130,7 @@ typedef struct ALreverbState { // The gain for each output channel based on 3D panning. // NOTE: Add some extra in case (see note about early pan). - ALfloat PanGain[4][MAX_OUTPUT_CHANNELS+4]; + ALfloat PanGain[4][MAX_OUTPUT_CHANNELS*2]; } Late; struct { |