projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3437e54
)
audio: Unbreak capturing in mixemu case
author
malc
<av1474@comtv.ru>
Mon, 16 Jul 2012 14:08:36 +0000
(18:08 +0400)
committer
malc
<av1474@comtv.ru>
Mon, 16 Jul 2012 14:08:36 +0000
(18:08 +0400)
Signed-off-by: malc <av1474@comtv.ru>
audio/audio.c
patch
|
blob
|
history
diff --git
a/audio/audio.c
b/audio/audio.c
index 583ee51eab2da98fcf4ba4290bb5ecd34d910275..1c7738930b639964b8020411579bc7b95b2b979e 100644
(file)
--- 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));