diff options
author | malc <av1474@comtv.ru> | 2012-08-12 18:39:27 -0500 |
---|---|---|
committer | Doug Goldstein <cardoe@cardoe.com> | 2012-10-20 11:14:22 -0500 |
commit | 2612b38ea17ecc8fc66cf8a5611baff334b52cc8 (patch) | |
tree | 7a2cf291ede650390d3d284c9c6305bc53fe7202 | |
parent | Replace 'struct siginfo' with 'siginfo_t'. (diff) | |
download | qemu-kvm-1.1.2-gentoo-1.tar.gz qemu-kvm-1.1.2-gentoo-1.tar.bz2 qemu-kvm-1.1.2-gentoo-1.zip |
audio: Unbreak capturing in mixemu caseqemu-kvm-1.1.2-gentoo-1
audio: Unbreak capturing in mixemu case
-rw-r--r-- | audio/audio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/audio.c b/audio/audio.c index 583ee51ea..1c7738930 100644 --- a/audio/audio.c +++ b/audio/audio.c @@ -818,6 +818,7 @@ static int audio_attach_capture (HWVoiceOut *hw) sw->active = hw->enabled; sw->conv = noop_conv; sw->ratio = ((int64_t) hw_cap->info.freq << 32) / sw->info.freq; + sw->vol = nominal_volume; sw->rate = st_rate_start (sw->info.freq, hw_cap->info.freq); if (!sw->rate) { dolog ("Could not start rate conversion for `%s'\n", SW_NAME (sw)); |