From 7d15a75cf4f7da9b1e2e11680cd14096cd6a218d Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Tue, 22 Mar 2022 16:24:29 -0300 Subject: [PATCH] CMI8x38: Disable Windows XP "workaround", it helps to use correct drivers --- src/sound/snd_cmi8x38.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/sound/snd_cmi8x38.c b/src/sound/snd_cmi8x38.c index ec5c237de..1b08e57f3 100644 --- a/src/sound/snd_cmi8x38.c +++ b/src/sound/snd_cmi8x38.c @@ -722,10 +722,9 @@ cmi8x38_write(uint16_t addr, uint8_t val, void *priv) break; case 0x09: -#if 0 /* actual CMI8338 behavior unconfirmed; this register is required for the Windows XP driver which outputs 96K */ - if (dev->type == CMEDIA_CMI8338) - return; -#endif + if (dev->type == CMEDIA_CMI8338) + return; + /* Update sample rate. */ dev->io_regs[addr] = val; cmi8x38_speed_changed(dev);