commit | 5b72392603b6fcb6ac533cb5b74d1cfb4917a0e1 | [log] [tgz] |
---|---|---|
author | Marc-André Lureau <marcandre.lureau@gmail.com> | Tue Apr 17 14:32:38 2012 +0200 |
committer | malc <av1474@comtv.ru> | Tue Apr 17 16:57:58 2012 +0400 |
tree | 986141e78b342faa06ad19dbe2d62cdba4f2aacb | |
parent | ed2997cdcbe483d453316ce1b2ff4eae6ce06b7d [diff] |
hw/ac97: the volume mask is not only 0x1f It's a case by case (see Table 66. AC ?97 Baseline Audio Register Map) Signed-off-by: Marc-Andr? Lureau <marcandre.lureau@redhat.com> Signed-off-by: malc <av1474@comtv.ru>
diff --git a/hw/ac97.c b/hw/ac97.c index f2804e6..f7866ed 100644 --- a/hw/ac97.c +++ b/hw/ac97.c
@@ -118,7 +118,6 @@ #define EACS_VRA 1 #define EACS_VRM 8 -#define VOL_MASK 0x1f #define MUTE_SHIFT 15 #define REC_MASK 7