aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-11-06 14:27:33 -0700
committerChris Robinson <[email protected]>2010-11-06 14:27:33 -0700
commit07346da740302fa0db8f756652e992f18f689f56 (patch)
tree309c2dc8a7758d9e0f17b62561abb6efc9080b7a /Alc/ALu.c
parentc95f182a90a1b31188e3ab7e765e28e94212cfe6 (diff)
Use the number of sends the device is configured for in more places
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index ce1645fe..34a59b77 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -232,11 +232,6 @@ ALvoid CalcNonAttnSourceParams(ALsource *ALSource, const ALCcontext *ALContext)
ALSource->Params.WetGains[i] = WetGain[i] * ListenerGain;
}
- for(i = NumSends;i < MAX_SENDS;i++)
- {
- ALSource->Params.WetGains[i] = 0.0f;
- WetGainHF[i] = 1.0f;
- }
/* Update filter coefficients. Calculations based on the I3DL2
* spec. */
@@ -551,11 +546,6 @@ ALvoid CalcSourceParams(ALsource *ALSource, const ALCcontext *ALContext)
}
ALSource->Params.WetGains[i] = WetGain[i] * ListenerGain;
}
- for(i = NumSends;i < MAX_SENDS;i++)
- {
- ALSource->Params.WetGains[i] = 0.0f;
- WetGainHF[i] = 1.0f;
- }
// Apply filter gains and filters
switch(ALSource->DirectFilter.type)