diff options
author | Chris Robinson <[email protected]> | 2018-09-19 22:18:46 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-09-19 22:18:46 -0700 |
commit | 5c6b8eda4f4defc85faf76edb2772f6b340c7c1a (patch) | |
tree | f5110aed671ade8156448b4e84613f8aa4b0185d /Alc/effects/compressor.c | |
parent | ea95a8adef036602770546fb14bcaf713ec40b8b (diff) |
Remove another duplicate function
Diffstat (limited to 'Alc/effects/compressor.c')
-rw-r--r-- | Alc/effects/compressor.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Alc/effects/compressor.c b/Alc/effects/compressor.c index af60777a..2b4a76b0 100644 --- a/Alc/effects/compressor.c +++ b/Alc/effects/compressor.c @@ -99,8 +99,7 @@ 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++) - ComputeFirstOrderGains(&device->FOAOut, IdentityMatrixf.m[i], - slot->Params.Gain, state->Gain[i]); + ComputePanGains(&device->FOAOut, IdentityMatrixf.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) |