From 2b61c92449d4692636f90ec9502761c5b59aa7da Mon Sep 17 00:00:00 2001 From: nsayer Date: Tue, 1 Aug 2000 04:18:15 +0000 Subject: Reverse the sense of the signed/unsigned formatting bit. This dramatically cleans up playback quality, at least with mxaudio. --- sys/dev/sound/pci/solo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/sound/pci/solo.c b/sys/dev/sound/pci/solo.c index adc8a4e..ccc5116 100644 --- a/sys/dev/sound/pci/solo.c +++ b/sys/dev/sound/pci/solo.c @@ -455,7 +455,7 @@ ess_setupch(struct ess_info *sc, int ch, int dir, int spd, u_int32_t fmt, int le ess_setmixer(sc, 0x76, (len & 0xff00) >> 8); /* autoinit, 4 bytes/req */ ess_setmixer(sc, 0x78, 0x10); - fmtval = b16 | (stereo << 1) | (unsign << 2); + fmtval = b16 | (stereo << 1) | ((!unsign) << 2); /* enable irq, set format */ ess_setmixer(sc, 0x7a, 0x40 | fmtval); if (sc->newspeed) { -- cgit v1.1