Print normalisation pregain in verbose mode

This commit is contained in:
Roderick van Domburg 2021-05-26 23:14:24 +02:00
parent d5070a107a
commit f2d31b73bb
No known key found for this signature in database
GPG key ID: FE2585E713F9F30A

View file

@ -286,6 +286,10 @@ impl Player {
if config.normalisation { if config.normalisation {
debug!("Normalisation Type: {:?}", config.normalisation_type); debug!("Normalisation Type: {:?}", config.normalisation_type);
debug!(
"Normalisation Pregain: {:.1} dB",
config.normalisation_pregain
);
debug!( debug!(
"Normalisation Threshold: {:.1} dBFS", "Normalisation Threshold: {:.1} dBFS",
ratio_to_db(config.normalisation_threshold) ratio_to_db(config.normalisation_threshold)