Browse Source

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 <lcapitulino@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
remotes/github/stable-0.12
Luiz Capitulino 17 years ago
committed by Aurelien Jarno
parent
commit
e0fed6cca7
  1. 2
      qemu-monitor.hx

2
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

Loading…
Cancel
Save