mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +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:
parent
2e8c7ccd99
commit
80a8e065eb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=64083
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user