monitor: Fix do_wav_capture() argument type
authorLuiz Capitulino <lcapitulino@redhat.com>
Fri, 4 Sep 2009 19:23:07 +0000 (16:23 -0300)
committerAurelien Jarno <aurelien@aurel32.net>
Sat, 26 Sep 2009 19:25:03 +0000 (21:25 +0200)
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 <lcapitulino@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
qemu-monitor.hx

index c176f2c..6aa99ce 100644 (file)
@@ -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