bug 1389641 add 'f' to literal initializer for float const r=trivial

Address MSVC build failures.

--HG--
extra : rebase_source : 46be974a5f1afe4ee4f41ec0c2367063347516ee
This commit is contained in:
Karl Tomlinson 2017-08-16 12:32:32 +12:00
parent bee1b4f407
commit d0d5e37ae6

View File

@ -38,7 +38,7 @@ using namespace mozilla;
namespace WebCore {
// Empirical gain calibration tested across many impulse responses to ensure perceived volume is same as dry (unprocessed) signal
const float GainCalibration = 0.00125;
const float GainCalibration = 0.00125f;
const float GainCalibrationSampleRate = 44100;
// A minimum power value to when normalizing a silent (or very quiet) impulse response