From fd5970b35a0ccbac3ed2bee20ad88ddf98319692 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Sun, 19 Jun 2022 23:03:55 +0200 Subject: [PATCH] maybe a macos compilation fix idk --- core/src/dsp/audio/volume.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/dsp/audio/volume.h b/core/src/dsp/audio/volume.h index 3b7f2e7c..b07886a7 100644 --- a/core/src/dsp/audio/volume.h +++ b/core/src/dsp/audio/volume.h @@ -60,7 +60,7 @@ namespace dsp::audio { if (lvl.l > maxLvl.l) { maxLvl.l = lvl.l; } if (lvl.r > maxLvl.r) { maxLvl.r = lvl.r; } } - stereo_t maxLvlDB = { 20.0 * log10f(maxLvl.l), 20.0 * log10f(maxLvl.r) }; + stereo_t maxLvlDB = { 20.0f * log10f(maxLvl.l), 20.0f * log10f(maxLvl.r) }; // Update max level {