[ci skip] Correct spelling

This commit is contained in:
Sasha Hilton 2018-02-23 20:33:58 +01:00
parent f8db550e5e
commit fc6c414e71

View file

@ -72,7 +72,7 @@ impl NormalisationData {
fn get_factor(config: &PlayerConfig, data: NormalisationData) -> f32 { fn get_factor(config: &PlayerConfig, data: NormalisationData) -> f32 {
let mut normalisation_factor: f32 = 1.0; let mut normalisation_factor: f32 = 1.0;
debug!("Normalization Data: {:?}", data); debug!("Normalisation Data: {:?}", data);
if config.normalisation { if config.normalisation {
normalisation_factor = f32::powf(10.0, (data.track_gain_db + config.normalisation_pregain) / 20.0); normalisation_factor = f32::powf(10.0, (data.track_gain_db + config.normalisation_pregain) / 20.0);
@ -82,7 +82,7 @@ impl NormalisationData {
normalisation_factor = 1.0 / data.track_peak; normalisation_factor = 1.0 / data.track_peak;
} }
debug!("Applied normalization factor: {}", normalisation_factor); debug!("Applied normalisation factor: {}", normalisation_factor);
} }
normalisation_factor normalisation_factor