aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/compressor.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/effects/compressor.c')
-rw-r--r--Alc/effects/compressor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/effects/compressor.c b/Alc/effects/compressor.c
index 2131104c..14c0ed10 100644
--- a/Alc/effects/compressor.c
+++ b/Alc/effects/compressor.c
@@ -49,8 +49,8 @@ static ALboolean ALcompressorState_deviceUpdate(ALcompressorState *state, ALCdev
const ALfloat attackTime = device->Frequency * 0.2f; /* 200ms Attack */
const ALfloat releaseTime = device->Frequency * 0.4f; /* 400ms Release */
- state->AttackRate = 1.0 / attackTime;
- state->ReleaseRate = 1.0 / releaseTime;
+ state->AttackRate = 1.0f / attackTime;
+ state->ReleaseRate = 1.0f / releaseTime;
return AL_TRUE;
}