Fix broken "rec" and "igain" introduced by previous commit. Convert

reg to a full blown int since there's not much gain compacting it,
and we do need its signess.
This commit is contained in:
ariff 2007-05-28 14:09:06 +00:00
parent 97ae5983d9
commit 9cc3888ac1

View File

@ -37,7 +37,7 @@ SND_DECLARE_FILE("$FreeBSD$");
MALLOC_DEFINE(M_AC97, "ac97", "ac97 codec");
struct ac97mixtable_entry {
unsigned reg:8; /* register index */
int reg; /* register index */
/* reg < 0 if inverted polarity */
unsigned bits:4; /* width of control field */
unsigned ofs:4; /* offset (only if stereo=0) */