From e0fed6cca7a5a8583798be758db3896828ced7f8 Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Fri, 4 Sep 2009 16:23:07 -0300 Subject: monitor: Fix do_wav_capture() argument type 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 Signed-off-by: Aurelien Jarno --- qemu-monitor.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qemu-monitor.hx') 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 -- cgit v1.1