diff --git a/NEWS b/NEWS index fa4954baa..25181d973 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,5 @@ ver 0.21.24 (not yet released) +* fix unit test failure ver 0.21.23 (2020/04/23) * protocol diff --git a/src/player/CrossFade.cxx b/src/player/CrossFade.cxx index beb9b18a5..b31610e66 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; }