File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2626- [ playback] ` alsamixer ` : use ` --device ` name for ` --mixer-card ` unless specified otherwise
2727- [ playback] ` player ` : consider errors in ` sink.start ` , ` sink.stop ` and ` sink.write ` fatal and ` exit(1) ` (breaking)
2828- [ playback] ` player ` : make ` convert ` and ` decoder ` public so you can implement your own ` Sink `
29+ - [ playback] Updated default normalisation threshold to -2 dBFS
2930
3031### Deprecated
3132- [ connect] The ` discovery ` module was deprecated in favor of the ` librespot-discovery ` crate
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ impl Default for PlayerConfig {
151151 normalisation_type : NormalisationType :: default ( ) ,
152152 normalisation_method : NormalisationMethod :: default ( ) ,
153153 normalisation_pregain : 0.0 ,
154- normalisation_threshold : db_to_ratio ( -1 .0) ,
154+ normalisation_threshold : db_to_ratio ( -2 .0) ,
155155 normalisation_attack : Duration :: from_millis ( 5 ) ,
156156 normalisation_release : Duration :: from_millis ( 100 ) ,
157157 normalisation_knee : 1.0 ,
Original file line number Diff line number Diff line change @@ -371,7 +371,7 @@ fn get_setup(args: &[String]) -> Setup {
371371 . optopt (
372372 "" ,
373373 NORMALISATION_THRESHOLD ,
374- "Threshold (dBFS) to prevent clipping. Defaults to -1 .0." ,
374+ "Threshold (dBFS) to prevent clipping. Defaults to -2 .0." ,
375375 "THRESHOLD" ,
376376 )
377377 . optopt (
You can’t perform that action at this time.
0 commit comments