aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer_c.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-09-02 00:29:46 -0700
committerChris Robinson <[email protected]>2016-09-02 00:29:46 -0700
commitcf0ef500ec6e999e744d4ad54e26e0c74c8c53b9 (patch)
tree3dee3d4aafe88b0a5cc5f87ae57ec14bee491014 /Alc/mixer_c.c
parent17636a0c1c6cc7916d2b3f659b5a701266bcab36 (diff)
Rename MatrixMixerFunc to RowMixerFunc
Diffstat (limited to 'Alc/mixer_c.c')
-rw-r--r--Alc/mixer_c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/mixer_c.c b/Alc/mixer_c.c
index c79d6061..c74729a8 100644
--- a/Alc/mixer_c.c
+++ b/Alc/mixer_c.c
@@ -208,13 +208,13 @@ void Mix_C(const ALfloat *data, ALuint OutChans, ALfloat (*restrict OutBuffer)[B
* transform. And as the matrices are more or less static once set up, no
* stepping is necessary.
*/
-void MixRow_C(ALfloat *OutBuffer, const ALfloat *Mtx, ALfloat (*restrict data)[BUFFERSIZE], ALuint InChans, ALuint BufferSize)
+void MixRow_C(ALfloat *OutBuffer, const ALfloat *Gains, ALfloat (*restrict data)[BUFFERSIZE], ALuint InChans, ALuint BufferSize)
{
ALuint c, i;
for(c = 0;c < InChans;c++)
{
- ALfloat gain = Mtx[c];
+ ALfloat gain = Gains[c];
if(!(fabsf(gain) > GAIN_SILENCE_THRESHOLD))
continue;