diff options
author | Chris Robinson <[email protected]> | 2016-03-25 23:25:13 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-03-25 23:25:13 -0700 |
commit | e0466766d7f9e3017c3bb8fc39a132ee05a357d6 (patch) | |
tree | dc5ae06aacb44335297a8e647165844d09cfe492 /Alc/effects/equalizer.c | |
parent | e23da7a1dea9997f61d23af50ed915ebee98f2e9 (diff) |
Include any first-order scaling in the FOAOut coefficients
Diffstat (limited to 'Alc/effects/equalizer.c')
-rw-r--r-- | Alc/effects/equalizer.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Alc/effects/equalizer.c b/Alc/effects/equalizer.c index ffc9830f..f3383bd2 100644 --- a/Alc/effects/equalizer.c +++ b/Alc/effects/equalizer.c @@ -103,12 +103,11 @@ static ALvoid ALequalizerState_update(ALequalizerState *state, const ALCdevice * aluMatrixf matrix; ALuint i; - gain = device->Dry.AmbiScale; aluMatrixfSet(&matrix, 1.0f, 0.0f, 0.0f, 0.0f, - 0.0f, gain, 0.0f, 0.0f, - 0.0f, 0.0f, gain, 0.0f, - 0.0f, 0.0f, 0.0f, gain + 0.0f, 1.0f, 0.0f, 0.0f, + 0.0f, 0.0f, 1.0f, 0.0f, + 0.0f, 0.0f, 0.0f, 1.0f ); STATIC_CAST(ALeffectState,state)->OutBuffer = device->FOAOut.Buffer; |