Fix a bug whereby the volume setting was ignored if the input was not at 44100 FPS and the loudness DSP setting was enabled.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user