Add dB unit in warning message

This commit is contained in:
Roderick van Domburg 2021-04-16 20:49:21 +02:00
parent ffa284c42a
commit d44b74ea57

View file

@ -246,7 +246,7 @@ impl NormalisationData {
let limited_normalisation_power = Self::ratio_to_db(limited_normalisation_factor); let limited_normalisation_power = Self::ratio_to_db(limited_normalisation_factor);
if config.normalisation_method == NormalisationMethod::Basic { 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; normalisation_factor = limited_normalisation_factor;
} else { } else {
warn!( warn!(