qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 2/2] monitor: Fix do_wav_capture() argument type


From: Luiz Capitulino
Subject: [Qemu-devel] [PATCH 2/2] monitor: Fix do_wav_capture() argument type
Date: Fri, 4 Sep 2009 16:23:07 -0300

Currently do_wav_capture() path's argument type is 's' (string),
but it should be 'F' (filename), this way 'wavcapture' gets
command completion.

Signed-off-by: Luiz Capitulino <address@hidden>
---
 qemu-monitor.hx |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/qemu-monitor.hx b/qemu-monitor.hx
index c176f2c..6aa99ce 100644
--- a/qemu-monitor.hx
+++ b/qemu-monitor.hx
@@ -402,7 +402,7 @@ info mice
 ETEXI
 
 #ifdef HAS_AUDIO
-    { "wavcapture", "path:s,freq:i?,bits:i?,nchannels:i?", do_wav_capture,
+    { "wavcapture", "path:F,freq:i?,bits:i?,nchannels:i?", do_wav_capture,
       "path [frequency [bits [channels]]]",
       "capture audio to a wave file (default frequency=44100 bits=16 
channels=2)" },
 #endif
-- 
1.6.4.2.253.g0b1fac





reply via email to

[Prev in Thread] Current Thread [Next in Thread]