Misc fixes (#315)

* Added rc scripts for dll

* Reverted numbering scheme in CMakeLists

* Misc fixes
This commit is contained in:
Philip Muzzall
2019-07-14 17:39:45 -07:00
committed by kcat
parent b728cf7bd6
commit 28f07d2d5e
+1 -1
View File
@@ -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;