From 06e8b7220c6a9e591d88b5e07cb2a24f2b362962 Mon Sep 17 00:00:00 2001 From: OBattler Date: Mon, 19 Oct 2020 02:32:28 +0200 Subject: [PATCH] And made the filters / volume control now actually apply. --- src/sound/sound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/sound.c b/src/sound/sound.c index 026a81cde..c50d002c6 100644 --- a/src/sound/sound.c +++ b/src/sound/sound.c @@ -386,7 +386,7 @@ sound_add_handler(void (*get_buffer)(int32_t *buffer, int len, void *p), void *p void sound_set_cd_audio_filter(void (*filter)(int channel, float *buffer, void *p), void *p) { - if ((filter_cd_audio != NULL) || (filter == NULL)) { + if ((filter_cd_audio == NULL) || (filter == NULL)) { filter_cd_audio = filter; filter_cd_audio_p = p; }