]> git.proxmox.com Git - mirror_qemu.git/commit - audio/audio_template.h
audio: don't apply volume effect if backend has VOICE_VOLUME_CAP
authorMarc-André Lureau <marcandre.lureau@gmail.com>
Tue, 17 Apr 2012 12:32:36 +0000 (14:32 +0200)
committermalc <av1474@comtv.ru>
Tue, 17 Apr 2012 12:57:57 +0000 (16:57 +0400)
commitc01b2456238f73964876471452e27d4aad7900fb
tree828e8798ffc13fac2972657332fdc9bccd7ee965
parent6c95ab94f9f7e8d3156e4e16ecc7c499e141bb1a
audio: don't apply volume effect if backend has VOICE_VOLUME_CAP

If the audio backend is capable of volume control, don't apply
software volume (mixeng_volume ()), but instead, rely on backend
volume control. This will allow guest to have full range volume
control.

Signed-off-by: Marc-Andr? Lureau <marcandre.lureau@redhat.com>
Signed-off-by: malc <av1474@comtv.ru>
audio/audio.c
audio/audio_int.h
audio/audio_template.h