mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-19 15:23:36 +00:00
* fix(transcoding): keep the DSD cap unless the client declares an upper rate limit Any audioSamplerate limitation on the target codec turned off the 88.2kHz DSD cap, including GreaterThanEqual, NotEquals, empty or non-numeric limits. None of those lower the rate, so DSD64 still went out at 352.8kHz. Only LessThanEqual with a number, or Equals with at least one number, now replaces the cap. Follow-up to #6367, addressing https://github.com/navidrome/navidrome/pull/6367#discussion_r4526602338 * refactor(stream): share upper-bound parsing between the DSD cap check and limits applyIntLimitation and the DSD cap check now read LessThanEqual and Equals values through one upperBounds helper, so the two can't disagree on which limits lower a rate.