]> git.proxmox.com Git - mirror_qemu.git/commit
audio: split sample conversion and volume mixing
authorMichael Walle <michael@walle.cc>
Wed, 5 Jan 2011 00:05:47 +0000 (01:05 +0100)
committermalc <av1474@comtv.ru>
Wed, 12 Jan 2011 15:36:22 +0000 (18:36 +0300)
commit00e076795f2d6dfa0c078ff5d5ee5d77190cb4b9
tree125088eea53cc55083a5b69e927937b89db22645
parent0f136d9e060ad879d0b840274ddfd1955e24fc10
audio: split sample conversion and volume mixing

Refactor the volume mixing, so it can be reused for capturing devices.
Additionally, it removes superfluous multiplications with the nominal
volume within the hardware voice code path.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: malc <av1474@comtv.ru>
13 files changed:
audio/alsaaudio.c
audio/audio.c
audio/audio_int.h
audio/dsoundaudio.c
audio/esdaudio.c
audio/fmodaudio.c
audio/mixeng.c
audio/mixeng.h
audio/mixeng_template.h
audio/ossaudio.c
audio/paaudio.c
audio/spiceaudio.c
audio/winwaveaudio.c