From f680e3fe0a1664bcb53f4bf8b953bd7dcd9579b9 Mon Sep 17 00:00:00 2001 From: OBattler Date: Mon, 19 Oct 2020 02:22:53 +0200 Subject: [PATCH] And the AD1848 as well. --- src/sound/snd_ad1848.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/snd_ad1848.c b/src/sound/snd_ad1848.c index 7aa699b16..726289365 100644 --- a/src/sound/snd_ad1848.c +++ b/src/sound/snd_ad1848.c @@ -227,7 +227,7 @@ static void ad1848_filter_cd_audio(int channel, float *buffer, void *p) int32_t c; uint32_t volume = channel ? ad1848->cd_vol_r : ad1848->cd_vol_l; - c = (((int32_t) buffer) * volume) >> 16; + c = (((int32_t) *buffer) * volume) >> 16; *buffer = (float) c; }