summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pci/solo.c
diff options
context:
space:
mode:
authornsayer <nsayer@FreeBSD.org>2000-08-01 04:18:15 +0000
committernsayer <nsayer@FreeBSD.org>2000-08-01 04:18:15 +0000
commit2b61c92449d4692636f90ec9502761c5b59aa7da (patch)
tree3c387fb53e2eabd6cd21b8a8cbcd0ddd21ee7032 /sys/dev/sound/pci/solo.c
parentcd67564f7890a7b39e6881481ac129390ecf78a4 (diff)
downloadFreeBSD-src-2b61c92449d4692636f90ec9502761c5b59aa7da.zip
FreeBSD-src-2b61c92449d4692636f90ec9502761c5b59aa7da.tar.gz
Reverse the sense of the signed/unsigned formatting bit.
This dramatically cleans up playback quality, at least with mxaudio.
Diffstat (limited to 'sys/dev/sound/pci/solo.c')
-rw-r--r--sys/dev/sound/pci/solo.c2
1 files changed, 1 insertions, 1 deletions
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) {
OpenPOWER on IntegriCloud