aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Muzzall <[email protected]>2019-07-14 17:39:45 -0700
committerkcat <[email protected]>2019-07-14 17:39:45 -0700
commit28f07d2d5edd3578434088a681986ca303728fe3 (patch)
tree076e50ac05ecff1301aca0da0f7ea6efd33a565e
parentb728cf7bd67ef6952bc021b133be654ebdcef357 (diff)
Misc fixes (#315)
* Added rc scripts for dll * Reverted numbering scheme in CMakeLists * Misc fixes
-rw-r--r--Alc/alc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alc.cpp b/Alc/alc.cpp
index 3e176957..a7b53c6b 100644
--- a/Alc/alc.cpp
+++ b/Alc/alc.cpp
@@ -2019,7 +2019,7 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList)
/* Initialize band-splitting filters for the front-left and front-
* right channels, with a crossover at 5khz (could be higher).
*/
- const ALfloat scale{static_cast<ALfloat>(5000.0 / device->Frequency)};
+ const ALfloat scale{5000.0f / static_cast<ALfloat>(device->Frequency)};
stablizer->LFilter.init(scale);
stablizer->RFilter = stablizer->LFilter;