aboutsummaryrefslogtreecommitdiff
path: root/audio/noaudio.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-07-16 18:57:03 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-07-16 18:57:03 +0000
commitec36b695b0bd054e673854fd1f02fa83e4bebea2 (patch)
tree413cfd368ce3c08e7866d48ca406ec3fc6638913 /audio/noaudio.c
parent6330126439a1f08d2a586bb1357622d944a44ec4 (diff)
audio capture to wab files (malc)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2059 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'audio/noaudio.c')
-rw-r--r--audio/noaudio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/noaudio.c b/audio/noaudio.c
index 8fb15a224d..a3423e5eb1 100644
--- a/audio/noaudio.c
+++ b/audio/noaudio.c
@@ -102,7 +102,7 @@ static int no_run_in (HWVoiceIn *hw)
NoVoiceIn *no = (NoVoiceIn *) hw;
int live = audio_pcm_hw_get_live_in (hw);
int dead = hw->samples - live;
- int samples;
+ int samples = 0;
if (dead) {
int64_t now = qemu_get_clock (vm_clock);