Blame qemu-fix-vnc-audio.patch

8452a8
commit 83617103984eb4d81cf46c94435f3da2c6f33b55
8452a8
Author: malc <av1474@comtv.ru>
8452a8
Date:   Mon Jul 16 18:08:36 2012 +0400
8452a8
8452a8
    audio: Unbreak capturing in mixemu case
8452a8
    
8452a8
    Signed-off-by: malc <av1474@comtv.ru>
8452a8
8452a8
diff --git a/audio/audio.c b/audio/audio.c
8452a8
index 583ee51..1c77389 100644
8452a8
--- a/audio/audio.c
8452a8
+++ b/audio/audio.c
8452a8
@@ -818,6 +818,7 @@ static int audio_attach_capture (HWVoiceOut *hw)
8452a8
         sw->active = hw->enabled;
8452a8
         sw->conv = noop_conv;
8452a8
         sw->ratio = ((int64_t) hw_cap->info.freq << 32) / sw->info.freq;
8452a8
+        sw->vol = nominal_volume;
8452a8
         sw->rate = st_rate_start (sw->info.freq, hw_cap->info.freq);
8452a8
         if (!sw->rate) {
8452a8
             dolog ("Could not start rate conversion for `%s'\n", SW_NAME (sw));