diff options
Diffstat (limited to 'Alc/effects/modulator.c')
-rw-r--r-- | Alc/effects/modulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/effects/modulator.c b/Alc/effects/modulator.c index 0665ad6c..e57040b3 100644 --- a/Alc/effects/modulator.c +++ b/Alc/effects/modulator.c @@ -149,7 +149,7 @@ static ALvoid ALmodulatorState_update(ALmodulatorState *state, ALCdevice *Device state->Filter.a[1] = -a; state->Filter.a[2] = 0.0f; - gain = sqrtf(1.0f/Device->NumSpeakers) * Slot->Gain; + gain = 1.0f/Device->NumSpeakers * Slot->Gain; SetGains(Device, gain, state->Gain); } |