From: Marc-André Lureau Date: Tue, 17 Apr 2012 12:32:38 +0000 (+0200) Subject: hw/ac97: the volume mask is not only 0x1f X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5b72392603b6fcb6ac533cb5b74d1cfb4917a0e1;p=qemu.git 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 Signed-off-by: malc --- diff --git a/hw/ac97.c b/hw/ac97.c index f2804e65b8..f7866ed8c5 100644 --- a/hw/ac97.c +++ b/hw/ac97.c @@ -118,7 +118,6 @@ enum { #define EACS_VRA 1 #define EACS_VRM 8 -#define VOL_MASK 0x1f #define MUTE_SHIFT 15 #define REC_MASK 7