ref: ad5785611bfb6f71c7dd86d7d52e620cd5dbe208
parent: 35bf490f0d0b5b1ca5000aaa0ea1ccfd05f17926
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sun Sep 27 15:31:23 EDT 2020
Change a float literal to double
--- a/src/Backends/Audio/SoftwareMixer/Mixer.cpp
+++ b/src/Backends/Audio/SoftwareMixer/Mixer.cpp
@@ -38,7 +38,7 @@
{
// Volume is in hundredths of a decibel, from 0 to -10000
volume = CLAMP(volume, -10000, 0);
- return (unsigned short)(pow(10.0, volume / 2000.0) * 256.0f);
+ return (unsigned short)(pow(10.0, volume / 2000.0) * 256.0);
}
void Mixer_Init(unsigned long frequency)