From d44b74ea57cee2f0eee91694a72bd15cf3af9934 Mon Sep 17 00:00:00 2001 From: Roderick van Domburg Date: Fri, 16 Apr 2021 20:49:21 +0200 Subject: [PATCH] Add dB unit in warning message --- playback/src/player.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playback/src/player.rs b/playback/src/player.rs index f42ece1b..78083e87 100644 --- a/playback/src/player.rs +++ b/playback/src/player.rs @@ -246,7 +246,7 @@ impl NormalisationData { let limited_normalisation_power = Self::ratio_to_db(limited_normalisation_factor); if config.normalisation_method == NormalisationMethod::Basic { - warn!("Limiting gain to {:.2} for the duration of this track to stay under normalisation threshold.", limited_normalisation_power); + warn!("Limiting gain to {:.2} dB for the duration of this track to stay under normalisation threshold.", limited_normalisation_power); normalisation_factor = limited_normalisation_factor; } else { warn!(