mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
[ci skip] Correct spelling
This commit is contained in:
parent
f8db550e5e
commit
fc6c414e71
1 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,7 @@ impl NormalisationData {
|
|||
fn get_factor(config: &PlayerConfig, data: NormalisationData) -> f32 {
|
||||
let mut normalisation_factor: f32 = 1.0;
|
||||
|
||||
debug!("Normalization Data: {:?}", data);
|
||||
debug!("Normalisation Data: {:?}", data);
|
||||
|
||||
if config.normalisation {
|
||||
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;
|
||||
}
|
||||
|
||||
debug!("Applied normalization factor: {}", normalisation_factor);
|
||||
debug!("Applied normalisation factor: {}", normalisation_factor);
|
||||
}
|
||||
|
||||
normalisation_factor
|
||||
|
|
Loading…
Reference in a new issue