diff options
author | nsayer <nsayer@FreeBSD.org> | 2000-08-01 04:18:15 +0000 |
---|---|---|
committer | nsayer <nsayer@FreeBSD.org> | 2000-08-01 04:18:15 +0000 |
commit | 2b61c92449d4692636f90ec9502761c5b59aa7da (patch) | |
tree | 3c387fb53e2eabd6cd21b8a8cbcd0ddd21ee7032 /sys/dev/sound/pci/solo.c | |
parent | cd67564f7890a7b39e6881481ac129390ecf78a4 (diff) | |
download | FreeBSD-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.c | 2 |
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) { |