Merge pull request #764 from roderickvd/print-normalisation-pregain

Print normalisation pregain in verbose mode
This commit is contained in:
Roderick van Domburg 2021-05-26 23:34:02 +02:00 committed by GitHub
commit 5d43b7dc31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)