diff options
author | Chris Robinson <chris.kcat@gmail.com> | 2018-11-17 23:21:37 -0800 |
---|---|---|
committer | Chris Robinson <chris.kcat@gmail.com> | 2018-11-17 23:21:37 -0800 |
commit | e79d9bdd1a6aa6d6d9852bf5a380a8cd01cbc315 (patch) | |
tree | d0c7be1efda1c2c72f035d5b8be5e942d70b8908 /Alc/effects/autowah.cpp | |
parent | fa3c34268dd7d9bc380ecd19aedb28924d29b295 (diff) |
Move the vector and matrix declarations to a separate header
Diffstat (limited to 'Alc/effects/autowah.cpp')
-rw-r--r-- | Alc/effects/autowah.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Alc/effects/autowah.cpp b/Alc/effects/autowah.cpp index e2f07b6f..a8e4fe6e 100644 --- a/Alc/effects/autowah.cpp +++ b/Alc/effects/autowah.cpp @@ -29,6 +29,7 @@ #include "alError.h" #include "alu.h" #include "filters/defs.h" +#include "vecmat.h" #define MIN_FREQ 20.0f #define MAX_FREQ 2500.0f @@ -131,7 +132,7 @@ static ALvoid ALautowahState_update(ALautowahState *state, const ALCcontext *con STATIC_CAST(ALeffectState,state)->OutBuffer = device->FOAOut.Buffer; STATIC_CAST(ALeffectState,state)->OutChannels = device->FOAOut.NumChannels; for(i = 0;i < MAX_EFFECT_CHANNELS;i++) - ComputePanGains(&device->FOAOut, IdentityMatrixf.m[i], slot->Params.Gain, + ComputePanGains(&device->FOAOut, aluMatrixf::Identity.m[i], slot->Params.Gain, state->Chans[i].TargetGains); } |