mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Add dB unit in warning message
This commit is contained in:
parent
ffa284c42a
commit
d44b74ea57
1 changed files with 1 additions and 1 deletions
|
@ -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!(
|
||||||
|
|
Loading…
Reference in a new issue