diff options
Diffstat (limited to 'Alc/effects/compressor.cpp')
-rw-r--r-- | Alc/effects/compressor.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Alc/effects/compressor.cpp b/Alc/effects/compressor.cpp index 5603deea..464e98ec 100644 --- a/Alc/effects/compressor.cpp +++ b/Alc/effects/compressor.cpp @@ -27,6 +27,7 @@ #include "alu.h" #include "alAuxEffectSlot.h" #include "alError.h" +#include "vecmat.h" #define AMP_ENVELOPE_MIN 0.5f @@ -101,7 +102,8 @@ static ALvoid ALcompressorState_update(ALcompressorState *state, const ALCcontex STATIC_CAST(ALeffectState,state)->OutBuffer = device->FOAOut.Buffer; STATIC_CAST(ALeffectState,state)->OutChannels = device->FOAOut.NumChannels; for(i = 0;i < 4;i++) - ComputePanGains(&device->FOAOut, IdentityMatrixf.m[i], slot->Params.Gain, state->Gain[i]); + ComputePanGains(&device->FOAOut, aluMatrixf::Identity.m[i], slot->Params.Gain, + state->Gain[i]); } static ALvoid ALcompressorState_process(ALcompressorState *state, ALsizei SamplesToDo, const ALfloat (*RESTRICT SamplesIn)[BUFFERSIZE], ALfloat (*RESTRICT SamplesOut)[BUFFERSIZE], ALsizei NumChannels) |