From 82d873db11de777d762a89f53bbfd154c6053008 Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Thu, 17 Jul 2025 12:01:02 +0100 Subject: [PATCH] Fix a bug whereby the volume setting was ignored if the input was not at 44100 FPS and the loudness DSP setting was enabled. --- player.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player.c b/player.c index d2c3639a..f18c12fc 100644 --- a/player.c +++ b/player.c @@ -1694,7 +1694,7 @@ static inline void process_sample(int32_t sample, char **outp, sps_format_t form int64_t hyper_sample = sample; int result = 0; - if (config.loudness) { + if ((config.loudness != 0) && (conn->input_rate == 44100)) { hyper_sample <<= 32; // Do not apply volume as it has already been done with the Loudness DSP filter } else {