diff options
author | Chris Robinson <[email protected]> | 2013-12-08 05:01:06 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-12-08 05:01:06 -0800 |
commit | ac525db845ff0ecc2018f333d6d189db24ffcbfd (patch) | |
tree | debc367b0b13e262874e34cfbc1cf30a732f3523 /Alc | |
parent | a846418964fc4942c4bc4eea53f0a536caa4b83f (diff) |
Fix numeric constant type (double->float)
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/effects/compressor.c | 4 |
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; } |