aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-02-14 01:22:01 -0800
committerChris Robinson <[email protected]>2016-02-14 01:22:01 -0800
commit25732d0895cc4d320472fc50cd74302d91b24a0c (patch)
treef2a6d757dceaef243881c1e942208db1bebb7d4e /Alc/ALc.c
parenta9135ec39d8722502e92fc5141661c3479d877d9 (diff)
Calculate channel gain stepping just before mixing
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index f69f6ecc..d116650f 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -2155,14 +2155,6 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList)
{
ALvoice *voice = &context->Voices[pos];
ALsource *source = voice->Source;
- ALuint s = device->NumAuxSends;
-
- while(s < MAX_SENDS)
- {
- voice->Send[s].Moving = AL_FALSE;
- voice->Send[s].Counter = 0;
- s++;
- }
if(source)
{