]> git.proxmox.com Git - qemu.git/commit
hw/ac97: add support for volume control
authorMarc-André Lureau <marcandre.lureau@gmail.com>
Tue, 17 Apr 2012 12:32:39 +0000 (14:32 +0200)
committermalc <av1474@comtv.ru>
Tue, 17 Apr 2012 12:57:58 +0000 (16:57 +0400)
commit19677a380a70348134ed7650b294522617eb03fc
tree721f1d548a6169c7bc4983ad3356c7143479f7cb
parent5b72392603b6fcb6ac533cb5b74d1cfb4917a0e1
hw/ac97: add support for volume control

Combine output volume with Master and PCM registers values.
Use default values in mixer_reset ().
Set volume on post-load to update backend values.

v4,v5:
- fix some code style

Signed-off-by: Marc-Andr? Lureau <marcandre.lureau@redhat.com>
Signed-off-by: malc <av1474@comtv.ru>
hw/ac97.c