mpd/src/player
Max Kellermann 8ad17d25ef player/CrossFade: do not cross-fade songs shorter than 20 seconds
From the feature request: "I generally like to have crossfade on, but
when it happens during such short tracks (e.g. 20 seconds or less) it
doesn't really sound good as those tracks are not really meant to be
crossfaded and intended to act as a bridge on their own."

Sounds reasonable.  This commit doesn't add an option, but hard-codes
the limit to 20 seconds.  If it turns out that users want to have it
configurable, we can still add the option.

Closes https://github.com/MusicPlayerDaemon/MPD/issues/1184
2021-10-14 13:47:24 +02:00
..
Control.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
Control.hxx more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
CrossFade.cxx player/CrossFade: do not cross-fade songs shorter than 20 seconds 2021-10-14 13:47:24 +02:00
CrossFade.hxx player/CrossFade: do not cross-fade songs shorter than 20 seconds 2021-10-14 13:47:24 +02:00
Listener.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
Outputs.hxx more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
Thread.cxx player/CrossFade: do not cross-fade songs shorter than 20 seconds 2021-10-14 13:47:24 +02:00