aboutsummaryrefslogblamecommitdiffstats
path: root/community/mpd/fix-mixramp-unit-test.patch
blob: 943c3aa6e783520376e39799b8e226735d4949db (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                                        
diff --git a/src/player/CrossFade.cxx b/src/player/CrossFade.cxx
index beb9b18..b31610e 100644
--- a/src/player/CrossFade.cxx
+++ b/src/player/CrossFade.cxx
@@ -62,7 +62,7 @@ mixramp_interpolate(const char *ramp_list, float required_db) noexcept
 			++ramp_list;
 
 		/* Check for exact match. */
-		if (db >= required_db) {
+		if (db == required_db) {
 			return duration;
 		}