From 28f07d2d5edd3578434088a681986ca303728fe3 Mon Sep 17 00:00:00 2001 From: Philip Muzzall Date: Sun, 14 Jul 2019 17:39:45 -0700 Subject: Misc fixes (#315) * Added rc scripts for dll * Reverted numbering scheme in CMakeLists * Misc fixes --- Alc/alc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(5000.0 / device->Frequency)}; + const ALfloat scale{5000.0f / static_cast(device->Frequency)}; stablizer->LFilter.init(scale); stablizer->RFilter = stablizer->LFilter; -- cgit v1.2.3