aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-01-31 09:00:23 -0800
committerChris Robinson <[email protected]>2016-01-31 09:00:23 -0800
commit7f908d90af9ed4b2f7ff415c412a080b22cac125 (patch)
treebb3066c1904b8b86b907d4f41b8eb6108df3ea99 /Alc/ALu.c
parentd69dd6dc7aa50fa3bd77338065b381b57be05acd (diff)
Rename ComputeBFormatGains to ComputeFirstOrderGains
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 8108e7c2..e0c96175 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -663,7 +663,7 @@ ALvoid CalcNonAttnSourceParams(ALvoice *voice, const ALsource *ALSource, const A
MixGains *gains = voice->Direct.Gains[c];
ALfloat Target[MAX_OUTPUT_CHANNELS];
- ComputeBFormatGains(Device->AmbiCoeffs, Device->NumChannels, matrix.m[c], DryGain, Target);
+ ComputeFirstOrderGains(Device->AmbiCoeffs, Device->NumChannels, matrix.m[c], DryGain, Target);
for(i = 0;i < MAX_OUTPUT_CHANNELS;i++)
gains[i].Target = Target[i];
}
@@ -698,8 +698,8 @@ ALvoid CalcNonAttnSourceParams(ALvoice *voice, const ALsource *ALSource, const A
ALfloat Target[MAX_OUTPUT_CHANNELS];
ALuint j;
- ComputeBFormatGains(Slot->AmbiCoeffs, Slot->NumChannels,
- matrix.m[c], WetGain[i], Target);
+ ComputeFirstOrderGains(Slot->AmbiCoeffs, Slot->NumChannels,
+ matrix.m[c], WetGain[i], Target);
for(j = 0;j < MAX_EFFECT_CHANNELS;j++)
gains[j].Target = Target[j];
}