diff options
author | Chris Robinson <[email protected]> | 2016-01-31 09:00:23 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-01-31 09:00:23 -0800 |
commit | 7f908d90af9ed4b2f7ff415c412a080b22cac125 (patch) | |
tree | bb3066c1904b8b86b907d4f41b8eb6108df3ea99 /Alc/effects | |
parent | d69dd6dc7aa50fa3bd77338065b381b57be05acd (diff) |
Rename ComputeBFormatGains to ComputeFirstOrderGains
Diffstat (limited to 'Alc/effects')
-rw-r--r-- | Alc/effects/compressor.c | 4 | ||||
-rw-r--r-- | Alc/effects/equalizer.c | 4 | ||||
-rw-r--r-- | Alc/effects/modulator.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/Alc/effects/compressor.c b/Alc/effects/compressor.c index e3c26bd9..e835a5aa 100644 --- a/Alc/effects/compressor.c +++ b/Alc/effects/compressor.c @@ -71,8 +71,8 @@ static ALvoid ALcompressorState_update(ALcompressorState *state, const ALCdevice 0.0f, 0.0f, 0.0f, scale ); for(i = 0;i < 4;i++) - ComputeBFormatGains(device->AmbiCoeffs, device->NumChannels, - matrix.m[i], slot->Gain, state->Gain[i]); + ComputeFirstOrderGains(device->AmbiCoeffs, device->NumChannels, + matrix.m[i], slot->Gain, state->Gain[i]); } static ALvoid ALcompressorState_process(ALcompressorState *state, ALuint SamplesToDo, const ALfloat (*restrict SamplesIn)[BUFFERSIZE], ALfloat (*restrict SamplesOut)[BUFFERSIZE], ALuint NumChannels) diff --git a/Alc/effects/equalizer.c b/Alc/effects/equalizer.c index 0a1ff1db..051e8c7f 100644 --- a/Alc/effects/equalizer.c +++ b/Alc/effects/equalizer.c @@ -111,8 +111,8 @@ static ALvoid ALequalizerState_update(ALequalizerState *state, const ALCdevice * 0.0f, 0.0f, 0.0f, gain ); for(i = 0;i < MAX_EFFECT_CHANNELS;i++) - ComputeBFormatGains(device->AmbiCoeffs, device->NumChannels, - matrix.m[i], slot->Gain, state->Gain[i]); + ComputeFirstOrderGains(device->AmbiCoeffs, device->NumChannels, + matrix.m[i], slot->Gain, state->Gain[i]); /* Calculate coefficients for the each type of filter. Note that the shelf * filters' gain is for the reference frequency, which is the centerpoint diff --git a/Alc/effects/modulator.c b/Alc/effects/modulator.c index bb74d3ec..cd6ccb22 100644 --- a/Alc/effects/modulator.c +++ b/Alc/effects/modulator.c @@ -130,8 +130,8 @@ static ALvoid ALmodulatorState_update(ALmodulatorState *state, const ALCdevice * 0.0f, 0.0f, 0.0f, scale ); for(i = 0;i < MAX_EFFECT_CHANNELS;i++) - ComputeBFormatGains(Device->AmbiCoeffs, Device->NumChannels, - matrix.m[i], Slot->Gain, state->Gain[i]); + ComputeFirstOrderGains(Device->AmbiCoeffs, Device->NumChannels, + matrix.m[i], Slot->Gain, state->Gain[i]); } static ALvoid ALmodulatorState_process(ALmodulatorState *state, ALuint SamplesToDo, const ALfloat (*restrict SamplesIn)[BUFFERSIZE], ALfloat (*restrict SamplesOut)[BUFFERSIZE], ALuint NumChannels) |