qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [COMMIT e0fed6c] monitor: Fix do_wav_capture() argument t


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT e0fed6c] monitor: Fix do_wav_capture() argument type
Date: Sat, 26 Sep 2009 19:31:56 -0000

From: Luiz Capitulino <address@hidden>

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>
Signed-off-by: Aurelien Jarno <address@hidden>

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




reply via email to

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