From 66e0c0f7ffb38a413dd2ffbeab3f9cb65f54edd8 Mon Sep 17 00:00:00 2001 From: TC1995 Date: Sat, 21 Nov 2020 19:22:31 +0100 Subject: [PATCH] Fixed muted cd audio on the WSS side of the AD1848 core. --- src/sound/snd_ad1848.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sound/snd_ad1848.c b/src/sound/snd_ad1848.c index a4595595a..be11e09ca 100644 --- a/src/sound/snd_ad1848.c +++ b/src/sound/snd_ad1848.c @@ -299,5 +299,6 @@ void ad1848_init(ad1848_t *ad1848, int type) timer_add(&ad1848->timer_count, ad1848_poll, ad1848, 0); - sound_set_cd_audio_filter(ad1848_filter_cd_audio, ad1848); + if (ad1848->type != AD1848_TYPE_DEFAULT) + sound_set_cd_audio_filter(ad1848_filter_cd_audio, ad1848); }