1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00

Reverse the sense of the signed/unsigned formatting bit.

This dramatically cleans up playback quality, at least with mxaudio.
This commit is contained in:
Nick Sayer 2000-08-01 04:18:15 +00:00
parent 2e8c7ccd99
commit 80a8e065eb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=64083

View File

@ -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) {