diff options
author | Chris Robinson <[email protected]> | 2014-03-23 16:11:21 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-03-23 16:11:21 -0700 |
commit | 52deb557d5466e7dd0b78dceb16f2ad5296bbcd4 (patch) | |
tree | 14bf48e2d74ce459fe37bb5feb0b556aa09d174e /Alc/ALc.c | |
parent | 83038c0dab0727b76765a8feed5a2c3c23c9915b (diff) |
Add gain stepping to the send mixers
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1931,6 +1931,13 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList) { ALactivesource *src = context->ActiveSources[pos]; ALsource *source = src->Source; + ALuint s = device->NumAuxSends; + while(s < MAX_SENDS) + { + src->Send[s].Moving = AL_FALSE; + src->Send[s].Counter = 0; + s++; + } src->Update(src, context); source->NeedsUpdate = AL_FALSE; |